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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 105.7 kB / 19.58 MB, free: 2.34 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001854/0.001854, allocations: 189.8 kB / 22.85 MB, free: 5.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 225.6 MB / 251.5 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002322/0.002322, allocations: 297.2 kB / 307.1 MB, free: 8.379 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.134/1.134, allocations: 180.8 MB / 0.5304 GB, free: 14.53 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002636/0.002636, allocations: 102.2 kB / 0.7311 GB, free: 38.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1431, allocations: 94.2 MB / 0.8231 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.002563/0.1457, allocations: 1.451 MB / 0.8245 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004978/0.1462, allocations: 244.1 kB / 0.8247 GB, free: 332 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.266e-05/0.1462, allocations: 0 / 0.8247 GB, free: 332 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.599e-05/0.1462, allocations: 0 / 0.8247 GB, free: 332 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.003e-05/0.1462, allocations: 7.938 kB / 0.8247 GB, free: 324 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003135/0.1466, allocations: 55.81 kB / 0.8248 GB, free: 268 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.124e-05/0.1466, allocations: 23.92 kB / 0.8248 GB, free: 244 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.074e-05/0.1467, allocations: 7.984 kB / 0.8248 GB, free: 236 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.571e-05/0.1467, allocations: 15.94 kB / 0.8248 GB, free: 220 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.233e-05/0.1468, allocations: 7.984 kB / 0.8248 GB, free: 212 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.1468, allocations: 4 kB / 0.8248 GB, free: 208 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.1469, allocations: 63.88 kB / 0.8249 GB, free: 144 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.156e-05/0.1469, allocations: 0 / 0.8249 GB, free: 144 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.647e-05/0.1469, allocations: 15.92 kB / 0.8249 GB, free: 128 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001251/0.1471, allocations: 51.8 kB / 0.825 GB, free: 76 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.1471, allocations: 0 / 0.825 GB, free: 76 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1471, allocations: 0 / 0.825 GB, free: 76 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.1471, allocations: 3.938 kB / 0.825 GB, free: 72 kB / 0.5606 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.0004297/0.1475, allocations: 274.2 kB / 0.8252 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.1475, allocations: 8.031 kB / 0.8252 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.622e-05/0.1476, allocations: 4.938 kB / 0.8252 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.1477, allocations: 110.5 kB / 0.8253 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.183e-06/0.1477, allocations: 384 / 0.8253 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.1477, allocations: 4.375 kB / 0.8253 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.1479, allocations: 54.17 kB / 0.8254 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.1479, allocations: 192 / 0.8254 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.1479, allocations: 7.938 kB / 0.8254 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1479, allocations: 0 / 0.8254 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.148, allocations: 35.95 kB / 0.8254 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002973/0.1483, allocations: 212.1 kB / 0.8256 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.1485, allocations: 42.48 kB / 0.8257 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.222e-05/0.1485, allocations: 24.91 kB / 0.8257 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004437/0.149, allocations: 71.86 kB / 0.8258 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.149, allocations: 38.5 kB / 0.8258 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.149, allocations: 4 kB / 0.8258 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.000335/0.1493, allocations: 77.64 kB / 0.8259 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.1494, allocations: 51.41 kB / 0.8259 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.768e-05/0.1495, allocations: 109.8 kB / 0.826 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.1495, allocations: 25.7 kB / 0.8261 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.696e-05/0.1495, allocations: 80.14 kB / 0.8261 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/0.1495, allocations: 12.08 kB / 0.8262 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.882e-05/0.1496, allocations: 13.72 kB / 0.8262 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.1497, allocations: 314.8 kB / 0.8265 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.872e-05/0.1498, allocations: 19.92 kB / 0.8265 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.439e-05/0.1498, allocations: 15.98 kB / 0.8265 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.15, allocations: 36.89 kB / 0.8265 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.15, allocations: 0 / 0.8265 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001802/0.1501, allocations: 73.59 kB / 0.8266 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.1502, allocations: 4 kB / 0.8266 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.1502, allocations: 0 / 0.8266 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.1502, allocations: 4 kB / 0.8266 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.34e-05/0.1502, allocations: 7.984 kB / 0.8266 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.1503, allocations: 32 / 0.8266 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.796e-05/0.1503, allocations: 15.94 kB / 0.8266 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.1503, allocations: 0 / 0.8266 GB, free: 14.16 MB / 0.5762 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 7.171e-05/0.1504, allocations: 118.4 kB / 0.8268 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.071e-05/0.1504, allocations: 0 / 0.8268 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002084/0.1506, allocations: 72.97 kB / 0.8268 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.1506, allocations: 4 kB / 0.8268 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.1506, allocations: 7.969 kB / 0.8268 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.1506, allocations: 0 / 0.8268 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.1508, allocations: 132.7 kB / 0.827 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.1508, allocations: 0 / 0.827 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.419e-05/0.1508, allocations: 8 kB / 0.827 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1508, allocations: 0 / 0.827 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.1508, allocations: 3.984 kB / 0.827 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1508, allocations: 0 / 0.827 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1508, allocations: 0 / 0.827 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002292/0.1511, allocations: 171.4 kB / 0.8271 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.711e-06/0.1511, allocations: 3.938 kB / 0.8271 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.1511, allocations: 4 kB / 0.8271 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.756e-05/0.1511, allocations: 0 / 0.8271 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.43e-05/0.1512, allocations: 7.984 kB / 0.8272 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-06/0.1512, allocations: 0 / 0.8272 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.199e-05/0.1512, allocations: 87.31 kB / 0.8272 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1512, allocations: 0 / 0.8272 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002324/0.1515, allocations: 15.94 kB / 0.8273 GB, free: 13.46 MB / 0.5762 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.0001769/0.1516, allocations: 115.2 kB / 0.8274 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002005/0.1518, allocations: 47.89 kB / 0.8274 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.1518, allocations: 0 / 0.8274 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.926e-05/0.1519, allocations: 19.98 kB / 0.8274 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.1521, allocations: 6.172 kB / 0.8274 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002859/0.1524, allocations: 99.17 kB / 0.8275 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.1527, allocations: 0.6768 MB / 0.8282 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.476e-05/0.1528, allocations: 8.125 kB / 0.8282 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.043e-05/0.1528, allocations: 7.438 kB / 0.8282 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.1528, allocations: 0 / 0.8282 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of Templates: time 0.003068/0.1558, allocations: 0.6756 MB / 0.8289 GB, free: 11.75 MB / 0.5762 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.629855245999352] Failed to read output from testmodel.py, exit status != 0: 0.16276486499555176 0.17713932000000002 0.027228060000000002 Calling exit ...