Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.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.001809/0.001809, allocations: 102.5 kB / 16.45 MB, free: 6.449 MB / 14.72 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.002367/0.002367, allocations: 206.4 kB / 19.42 MB, free: 3.641 MB / 14.72 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 1.487/1.487, allocations: 230.6 MB / 252.8 MB, free: 9.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.139/0.139, allocations: 23.85 MB / 332.7 MB, free: 12.38 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction") [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 66.56 kB / 466.5 MB, free: 9.621 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3389, allocations: 59.82 MB / 0.5139 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.004371/0.3432, allocations: 3.021 MB / 0.5169 GB, free: 7.176 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006475/0.3497, allocations: 6.331 MB / 0.5231 GB, free: 2.555 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005552/0.3503, allocations: 12.31 kB / 0.5231 GB, free: 2.547 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005921/0.3509, allocations: 150.2 kB / 0.5232 GB, free: 2.465 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008432/0.3517, allocations: 256.6 kB / 0.5235 GB, free: 2.297 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00284/0.3546, allocations: 0.9613 MB / 0.5244 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007911/0.3553, allocations: 489.9 kB / 0.5249 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002449/0.3556, allocations: 147.2 kB / 0.525 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002545/0.3558, allocations: 233 kB / 0.5252 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003771/0.3562, allocations: 253.3 kB / 0.5255 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.74e-05/0.3563, allocations: 25.72 kB / 0.5255 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0018/0.3581, allocations: 0.5587 MB / 0.5261 GB, free: 1.125 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.3582, allocations: 79.45 kB / 0.5261 GB, free: 1.086 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001818/0.3584, allocations: 186 kB / 0.5263 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001974/0.3604, allocations: 1.045 MB / 0.5273 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3604, allocations: 0 / 0.5273 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3604, allocations: 0 / 0.5273 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.3604, allocations: 1.188 kB / 0.5273 GB, free: 0.5312 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001086/0.3615, allocations: 0.7761 MB / 0.5281 GB, free: 15.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.3615, allocations: 9.375 kB / 0.5281 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005815/0.3621, allocations: 112.3 kB / 0.5282 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000652/0.3627, allocations: 380 kB / 0.5286 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.3628, allocations: 17.38 kB / 0.5286 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.322e-05/0.3628, allocations: 26.59 kB / 0.5286 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006919/0.3635, allocations: 385.6 kB / 0.529 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.3635, allocations: 0 / 0.529 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.134e-05/0.3636, allocations: 11.25 kB / 0.529 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.3636, allocations: 5.25 kB / 0.529 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.3646, allocations: 0.5458 MB / 0.5295 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00206/0.3667, allocations: 1.399 MB / 0.5309 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003989/0.3671, allocations: 167.4 kB / 0.5311 GB, free: 14.15 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000183/0.3673, allocations: 88.03 kB / 0.5311 GB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002631/0.3699, allocations: 1.897 MB / 0.533 GB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.3699, allocations: 39.78 kB / 0.533 GB, free: 12.47 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.3699, allocations: 0 / 0.533 GB, free: 12.47 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005259/0.3705, allocations: 220.4 kB / 0.5332 GB, free: 12.38 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.3705, allocations: 54.97 kB / 0.5333 GB, free: 12.31 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004724/0.371, allocations: 374.8 kB / 0.5337 GB, free: 12.11 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.371, allocations: 31.52 kB / 0.5337 GB, free: 12.08 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/0.3712, allocations: 227.5 kB / 0.5339 GB, free: 11.89 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.317e-05/0.3712, allocations: 58.08 kB / 0.534 GB, free: 11.84 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.3713, allocations: 73.44 kB / 0.534 GB, free: 11.8 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.3715, allocations: 347.1 kB / 0.5344 GB, free: 11.47 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.3716, allocations: 59.78 kB / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002829/0.3719, allocations: 245 kB / 0.5346 GB, free: 11.19 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004746/0.3724, allocations: 338.5 kB / 0.535 GB, free: 10.87 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.3724, allocations: 3.078 kB / 0.535 GB, free: 10.87 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006359/0.373, allocations: 351 kB / 0.5353 GB, free: 10.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.3731, allocations: 8.906 kB / 0.5353 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.3731, allocations: 6.531 kB / 0.5353 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.597e-05/0.3731, allocations: 13.41 kB / 0.5353 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002606/0.3734, allocations: 78.8 kB / 0.5354 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.964e-05/0.3734, allocations: 11 kB / 0.5354 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002554/0.3736, allocations: 49.42 kB / 0.5355 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.319e-05/0.3737, allocations: 30.89 kB / 0.5355 GB, free: 10.66 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (35): * Single equations (assignments): 35 * 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 0.0001867/0.3739, allocations: 157.7 kB / 0.5356 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.531e-05/0.3739, allocations: 35.89 kB / 0.5357 GB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000605/0.3746, allocations: 291.3 kB / 0.536 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.3746, allocations: 0 / 0.536 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3746, allocations: 1.312 kB / 0.536 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.3746, allocations: 5.531 kB / 0.536 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008525/0.3754, allocations: 0.6371 MB / 0.5366 GB, free: 9.777 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.3754, allocations: 1.312 kB / 0.5366 GB, free: 9.777 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.405e-05/0.3755, allocations: 9.125 kB / 0.5366 GB, free: 9.777 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.3755, allocations: 2.281 kB / 0.5366 GB, free: 9.777 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.3755, allocations: 5.875 kB / 0.5366 GB, free: 9.773 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.144e-06/0.3755, allocations: 9.312 kB / 0.5366 GB, free: 9.77 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.3755, allocations: 1.219 kB / 0.5366 GB, free: 9.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002473/0.3758, allocations: 180.1 kB / 0.5368 GB, free: 9.617 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.3759, allocations: 113.9 kB / 0.5369 GB, free: 9.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.619e-05/0.3759, allocations: 10.12 kB / 0.5369 GB, free: 9.492 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.376, allocations: 10.06 kB / 0.5369 GB, free: 9.488 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.548e-05/0.3761, allocations: 11.75 kB / 0.5369 GB, free: 9.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.283e-06/0.3761, allocations: 2.094 kB / 0.5369 GB, free: 9.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004114/0.3765, allocations: 313.9 kB / 0.5372 GB, free: 9.332 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3765, allocations: 0 / 0.5372 GB, free: 9.332 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006758/0.3772, allocations: 172.2 kB / 0.5374 GB, free: 9.285 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * 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.0005807/0.3777, allocations: 297.1 kB / 0.5377 GB, free: 9.121 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003671/0.3781, allocations: 161 kB / 0.5378 GB, free: 9.066 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3781, allocations: 1.375 kB / 0.5378 GB, free: 9.066 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.361e-05/0.3782, allocations: 34.23 kB / 0.5379 GB, free: 9.055 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006098/0.3788, allocations: 97.42 kB / 0.538 GB, free: 9.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.38, allocations: 0.5479 MB / 0.5385 GB, free: 8.652 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005115/0.3805, allocations: 0.777 MB / 0.5392 GB, free: 7.949 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00032/0.3808, allocations: 90.73 kB / 0.5393 GB, free: 7.922 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.3809, allocations: 49.48 kB / 0.5394 GB, free: 7.906 MB / 398.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3809, allocations: 0 / 0.5394 GB, free: 7.906 MB / 398.1 MB Notification: Performance of Templates: time 0.01391/0.3948, allocations: 6.366 MB / 0.5456 GB, free: 5.875 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.sim & ./Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.153598990291357] Failed to read output from testmodel.py, exit status != 0: 0.40299154445528984 0.422236675 0.057915926000000006 Calling exit ...