Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007515/0.0007515, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007246/0.0007246, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8387/0.8387, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001348/0.001348, allocations: 230.4 kB / 260.2 MB, free: 13.03 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6401/0.6401, allocations: 138.4 MB / 455.1 MB, free: 30.04 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0") translateModel(BuildingSystems.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.6475 GB, free: 1.34 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.757e-05/1.91e-05, allocations: 6.219 kB / 0.6475 GB, free: 1.332 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.239/0.239, allocations: 1.459 MB / 0.649 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0004859/0.2395, allocations: 229.5 kB / 0.6492 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.654e-05/0.2395, allocations: 0.9688 kB / 0.6492 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.644e-05/0.2395, allocations: 0.6562 kB / 0.6492 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 3.788e-05/0.2396, allocations: 8.125 kB / 0.6492 GB, free: 56.4 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003298/0.2399, allocations: 57.8 kB / 0.6492 GB, free: 56.39 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.83e-05/0.24, allocations: 24.98 kB / 0.6493 GB, free: 56.39 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 8.689e-05/0.2401, allocations: 4.062 kB / 0.6493 GB, free: 56.39 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.032e-05/0.2401, allocations: 12.03 kB / 0.6493 GB, free: 56.39 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.387e-05/0.2402, allocations: 9.766 kB / 0.6493 GB, free: 56.39 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.2402, allocations: 2.188 kB / 0.6493 GB, free: 56.39 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/0.2403, allocations: 61.7 kB / 0.6493 GB, free: 56.39 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.325e-05/0.2403, allocations: 4.281 kB / 0.6494 GB, free: 56.39 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.884e-05/0.2403, allocations: 10.19 kB / 0.6494 GB, free: 56.39 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.2405, allocations: 59.91 kB / 0.6494 GB, free: 56.39 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2405, allocations: 1.594 kB / 0.6494 GB, free: 56.39 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2405, allocations: 0 / 0.6494 GB, free: 56.39 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.2405, allocations: 0 / 0.6494 GB, free: 56.39 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003145/0.2408, allocations: 268.6 kB / 0.6497 GB, free: 56.12 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.2408, allocations: 11.25 kB / 0.6497 GB, free: 56.12 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.868e-05/0.2409, allocations: 6.5 kB / 0.6497 GB, free: 56.12 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.629e-05/0.2409, allocations: 110.2 kB / 0.6498 GB, free: 56 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.2409, allocations: 3.156 kB / 0.6498 GB, free: 56 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.887e-06/0.2409, allocations: 1.188 kB / 0.6498 GB, free: 56 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.2411, allocations: 50.61 kB / 0.6499 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.2411, allocations: 192 / 0.6499 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.2411, allocations: 2.344 kB / 0.6499 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.2411, allocations: 384 / 0.6499 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.2412, allocations: 37.89 kB / 0.6499 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00022/0.2414, allocations: 191.1 kB / 0.6501 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 7.682e-05/0.2415, allocations: 43.2 kB / 0.6501 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.553e-05/0.2415, allocations: 20.92 kB / 0.6501 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003635/0.2419, allocations: 74.84 kB / 0.6502 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.2419, allocations: 33.73 kB / 0.6502 GB, free: 55.69 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.2419, allocations: 0 / 0.6502 GB, free: 55.69 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.000234/0.2421, allocations: 86.91 kB / 0.6503 GB, free: 55.66 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.505e-05/0.2422, allocations: 56 kB / 0.6504 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.374e-05/0.2422, allocations: 102.6 kB / 0.6505 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.861e-06/0.2422, allocations: 26.45 kB / 0.6505 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.227e-05/0.2422, allocations: 88.69 kB / 0.6506 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.2423, allocations: 11.12 kB / 0.6506 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.461e-05/0.2423, allocations: 14.44 kB / 0.6506 GB, free: 55.35 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.315e-05/0.2423, allocations: 314.1 kB / 0.6509 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.468e-05/0.2424, allocations: 17.45 kB / 0.6509 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.824e-05/0.2424, allocations: 17.38 kB / 0.6509 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.934e-05/0.2425, allocations: 40.08 kB / 0.651 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2425, allocations: 0.8125 kB / 0.651 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001035/0.2426, allocations: 70.55 kB / 0.651 GB, free: 55 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.2426, allocations: 5 kB / 0.651 GB, free: 55 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.2426, allocations: 7.547 kB / 0.6511 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.2426, allocations: 0.5625 kB / 0.6511 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.164e-05/0.2427, allocations: 9.391 kB / 0.6511 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.2427, allocations: 0 / 0.6511 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.082e-05/0.2427, allocations: 7.328 kB / 0.6511 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.379e-06/0.2427, allocations: 1.062 kB / 0.6511 GB, free: 54.99 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.818e-05/0.2427, allocations: 111.8 kB / 0.6512 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.203e-05/0.2427, allocations: 1.766 kB / 0.6512 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001287/0.2429, allocations: 76.05 kB / 0.6513 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.2429, allocations: 2.875 kB / 0.6513 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.2429, allocations: 0 / 0.6513 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.2429, allocations: 1.344 kB / 0.6513 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.726e-05/0.2429, allocations: 103.7 kB / 0.6514 GB, free: 54.72 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.243, allocations: 4.094 kB / 0.6514 GB, free: 54.72 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.488e-05/0.243, allocations: 13.06 kB / 0.6514 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.243, allocations: 1.688 kB / 0.6514 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.243, allocations: 0.8125 kB / 0.6514 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.243, allocations: 3.938 kB / 0.6514 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.243, allocations: 0.7188 kB / 0.6514 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/0.2431, allocations: 163.2 kB / 0.6515 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.042e-06/0.2431, allocations: 5.5 kB / 0.6515 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.748e-06/0.2431, allocations: 1.656 kB / 0.6515 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.708e-05/0.2432, allocations: 10.78 kB / 0.6516 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.247e-05/0.2432, allocations: 3.562 kB / 0.6516 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.2432, allocations: 0.7812 kB / 0.6516 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.694e-05/0.2432, allocations: 88.38 kB / 0.6516 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2432, allocations: 0 / 0.6516 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001607/0.2434, allocations: 20.03 kB / 0.6517 GB, free: 54.49 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000145/0.2435, allocations: 115.5 kB / 0.6518 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001203/0.2436, allocations: 45.27 kB / 0.6518 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.2436, allocations: 0 / 0.6518 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.166e-05/0.2437, allocations: 17.45 kB / 0.6518 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001557/0.2438, allocations: 4.281 kB / 0.6518 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002097/0.244, allocations: 131.1 kB / 0.652 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.2e-05/0.2441, allocations: 60.03 kB / 0.652 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.832e-05/0.2441, allocations: 10.88 kB / 0.652 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of SimCode: time 6.11e-07/0.2441, allocations: 4.594 kB / 0.652 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of Templates: time 0.00173/0.2458, allocations: 0.7914 MB / 0.6528 GB, free: 54.17 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.319061476737261] Failed to read output from testmodel.py, exit status != 0: 0.25044909585267305 0.25841889 0.016330591000000002 Calling exit ...