Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2.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.001592/0.001592, allocations: 119.3 kB / 17.13 MB, free: 5.918 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.001503/0.001503, allocations: 194.2 kB / 20.08 MB, free: 2.988 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.41/1.41, allocations: 225.6 MB / 248.5 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.09632/0.09632, allocations: 15.54 MB / 318.9 MB, free: 13.61 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.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(Chemical.Examples.CheckSubstancesData.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2") translateModel(Chemical.Examples.CheckSubstancesData.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 69.62 kB / 446.1 MB, free: 47.64 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1093, allocations: 56.54 MB / 0.4909 GB, free: 20.59 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:3019:6-3019:65:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:3019:6-3019:65:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Examples.CheckSubstancesData.SimpleReaction2): time 0.03089/0.1402, allocations: 24.05 MB / 0.5143 GB, free: 15.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01184/0.152, allocations: 9.203 MB / 0.5233 GB, free: 6.262 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005722/0.1526, allocations: 7.938 kB / 0.5233 GB, free: 6.254 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006775/0.1532, allocations: 218.4 kB / 0.5235 GB, free: 6.039 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001011/0.1543, allocations: 361.2 kB / 0.5239 GB, free: 5.684 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003878/0.1581, allocations: 1.413 MB / 0.5253 GB, free: 4.258 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009971/0.1591, allocations: 0.6698 MB / 0.5259 GB, free: 3.586 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004116/0.1595, allocations: 213.1 kB / 0.5261 GB, free: 3.371 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004095/0.16, allocations: 319.2 kB / 0.5264 GB, free: 3.059 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004822/0.1604, allocations: 358.7 kB / 0.5268 GB, free: 2.707 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.586e-05/0.1605, allocations: 36 kB / 0.5268 GB, free: 2.672 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002188/0.1627, allocations: 0.8345 MB / 0.5276 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000154/0.1629, allocations: 119.6 kB / 0.5277 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002828/0.1631, allocations: 258.7 kB / 0.528 GB, free: 1.465 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002413/0.1655, allocations: 1.51 MB / 0.5295 GB, free: 15.95 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1656, allocations: 0 / 0.5295 GB, free: 15.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1656, allocations: 0 / 0.5295 GB, free: 15.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.1656, allocations: 0 / 0.5295 GB, free: 15.95 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.00139/0.167, allocations: 0.9641 MB / 0.5304 GB, free: 14.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.167, allocations: 16.03 kB / 0.5304 GB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007362/0.1677, allocations: 156.3 kB / 0.5306 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007322/0.1685, allocations: 454.3 kB / 0.531 GB, free: 14.28 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.062e-05/0.1685, allocations: 29.03 kB / 0.531 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.6e-05/0.1686, allocations: 28.12 kB / 0.5311 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008413/0.1694, allocations: 0.5299 MB / 0.5316 GB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.1694, allocations: 0 / 0.5316 GB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.691e-05/0.1695, allocations: 16 kB / 0.5316 GB, free: 13.65 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.1695, allocations: 8 kB / 0.5316 GB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.1706, allocations: 0.8024 MB / 0.5324 GB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00263/0.1732, allocations: 1.89 MB / 0.5342 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004001/0.1736, allocations: 198.5 kB / 0.5344 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002306/0.1739, allocations: 124.8 kB / 0.5345 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003457/0.1773, allocations: 2.706 MB / 0.5372 GB, free: 7.469 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.1774, allocations: 42.5 kB / 0.5372 GB, free: 7.418 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 2.194e-06/0.1774, allocations: 0 / 0.5372 GB, free: 7.418 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006476/0.178, allocations: 291.8 kB / 0.5375 GB, free: 7.129 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.1781, allocations: 59.39 kB / 0.5375 GB, free: 7.059 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005545/0.1786, allocations: 482.8 kB / 0.538 GB, free: 6.578 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.1786, allocations: 25.7 kB / 0.538 GB, free: 6.547 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002534/0.1789, allocations: 307.9 kB / 0.5383 GB, free: 6.242 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.806e-05/0.179, allocations: 55.55 kB / 0.5384 GB, free: 6.188 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/0.1791, allocations: 102 kB / 0.5385 GB, free: 6.082 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.1793, allocations: 358.7 kB / 0.5388 GB, free: 5.723 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.1795, allocations: 92.77 kB / 0.5389 GB, free: 5.629 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003891/0.1798, allocations: 361.2 kB / 0.5393 GB, free: 5.148 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006456/0.1805, allocations: 0.4925 MB / 0.5397 GB, free: 4.523 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/0.1805, allocations: 4 kB / 0.5397 GB, free: 4.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008104/0.1813, allocations: 481.3 kB / 0.5402 GB, free: 4.043 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.1813, allocations: 12 kB / 0.5402 GB, free: 4.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.1813, allocations: 8 kB / 0.5402 GB, free: 4.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.651e-05/0.1814, allocations: 12 kB / 0.5402 GB, free: 4.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003244/0.1817, allocations: 119.8 kB / 0.5403 GB, free: 3.895 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.137e-05/0.1817, allocations: 19.92 kB / 0.5404 GB, free: 3.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002665/0.182, allocations: 63.83 kB / 0.5404 GB, free: 3.812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.616e-05/0.182, allocations: 39.94 kB / 0.5405 GB, free: 3.773 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (50): * Single equations (assignments): 50 * 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.0001964/0.1822, allocations: 177.6 kB / 0.5406 GB, free: 3.59 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.064e-05/0.1823, allocations: 47.67 kB / 0.5407 GB, free: 3.543 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007045/0.183, allocations: 388 kB / 0.541 GB, free: 3.117 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.183, allocations: 8 kB / 0.5411 GB, free: 3.109 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.183, allocations: 0 / 0.5411 GB, free: 3.109 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.183, allocations: 3.938 kB / 0.5411 GB, free: 3.105 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008946/0.1839, allocations: 0.7249 MB / 0.5418 GB, free: 2.305 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1839, allocations: 0 / 0.5418 GB, free: 2.305 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.892e-05/0.184, allocations: 19.92 kB / 0.5418 GB, free: 2.285 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.184, allocations: 0 / 0.5418 GB, free: 2.285 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.184, allocations: 4 kB / 0.5418 GB, free: 2.281 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.184, allocations: 192 / 0.5418 GB, free: 2.281 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.236e-06/0.184, allocations: 11.94 kB / 0.5418 GB, free: 2.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/0.1843, allocations: 189.1 kB / 0.542 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001701/0.1845, allocations: 148.6 kB / 0.5421 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.695e-05/0.1845, allocations: 4 kB / 0.5421 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.1847, allocations: 3.984 kB / 0.5421 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.328e-05/0.1847, allocations: 11.94 kB / 0.5421 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.1847, allocations: 4 kB / 0.5421 GB, free: 1.863 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005037/0.1852, allocations: 414.8 kB / 0.5425 GB, free: 1.461 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1852, allocations: 0 / 0.5425 GB, free: 1.461 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007422/0.1859, allocations: 247.1 kB / 0.5428 GB, free: 1.219 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.0007924/0.1867, allocations: 410 kB / 0.5432 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004169/0.1872, allocations: 218 kB / 0.5434 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1872, allocations: 4.062 kB / 0.5434 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.68e-05/0.1872, allocations: 35.92 kB / 0.5434 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005808/0.1878, allocations: 123.2 kB / 0.5435 GB, free: 452 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.1891, allocations: 0.7163 MB / 0.5442 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004308/0.1895, allocations: 0.8074 MB / 0.545 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001846/0.1897, allocations: 87.39 kB / 0.5451 GB, free: 14.76 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1897, allocations: 0 / 0.5451 GB, free: 14.76 MB / 414.1 MB Notification: Performance of Templates: time 0.01338/0.2031, allocations: 7.937 MB / 0.5529 GB, free: 6.84 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2.pipe ; mkfifo Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2.pipe ; head -c 1048576 < Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2.pipe >> ../files/Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2.sim & ./Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.079003627004568] Failed to read output from testmodel.py, exit status != 0: 0.401206907001324 0.223955274 0.055633164000000006 Calling exit ...