Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Examples.Definitions.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.00154/0.00154, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.001483/0.001483, allocations: 166.2 kB / 22.46 MB, free: 5.359 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.469/1.469, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1334/0.1334, allocations: 17.45 MB / 276.6 MB, free: 15.21 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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(Chemical.Examples.Definitions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.Definitions") translateModel(Chemical.Examples.Definitions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.Definitions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.374e-06/2.374e-06, allocations: 0 / 412.1 MB, free: 4.27 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.045e-05/3.282e-05, allocations: 2.281 kB / 412.1 MB, free: 4.266 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:448:5-448:64: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 master/Interfaces.mo:448:5-448:64: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.Definitions): time 0.03755/0.03758, allocations: 24.04 MB / 436.2 MB, free: 12.37 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.4026/0.4402, allocations: 122.8 MB / 0.5458 GB, free: 5.961 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004174/0.4406, allocations: 11.94 kB / 0.5458 GB, free: 5.949 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002679/0.4433, allocations: 0.7113 MB / 0.5465 GB, free: 5.242 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00467/0.448, allocations: 2.38 MB / 0.5489 GB, free: 2.855 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002069/0.45, allocations: 0.6206 MB / 0.5495 GB, free: 2.234 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004171/0.4542, allocations: 2.108 MB / 0.5515 GB, free: 132 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.538e-05/0.4543, allocations: 25.97 kB / 0.5516 GB, free: 108 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007418/0.455, allocations: 494.9 kB / 0.552 GB, free: 15.62 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000885/0.4559, allocations: 486.5 kB / 0.5525 GB, free: 15.15 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.846e-05/0.456, allocations: 20 kB / 0.5525 GB, free: 15.13 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002233/0.4582, allocations: 0.8533 MB / 0.5533 GB, free: 14.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002271/0.4585, allocations: 191.3 kB / 0.5535 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002523/0.4587, allocations: 187.4 kB / 0.5537 GB, free: 13.9 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002666/0.4614, allocations: 1.722 MB / 0.5554 GB, free: 12.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.4614, allocations: 3.938 kB / 0.5554 GB, free: 12.17 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.4614, allocations: 0 / 0.5554 GB, free: 12.17 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.4614, allocations: 0 / 0.5554 GB, free: 12.17 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.001715/0.4631, allocations: 1.048 MB / 0.5564 GB, free: 11.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.4632, allocations: 11.97 kB / 0.5564 GB, free: 11.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007715/0.4639, allocations: 306.6 kB / 0.5567 GB, free: 10.78 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006252/0.4645, allocations: 357.4 kB / 0.5571 GB, free: 10.4 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.434e-05/0.4646, allocations: 37.36 kB / 0.5571 GB, free: 10.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.964e-05/0.4647, allocations: 48.36 kB / 0.5571 GB, free: 10.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002971/0.4676, allocations: 2.621 MB / 0.5597 GB, free: 7.641 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.4677, allocations: 192 / 0.5597 GB, free: 7.641 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.34e-05/0.4677, allocations: 20.55 kB / 0.5597 GB, free: 7.621 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001388/0.4678, allocations: 93.19 kB / 0.5598 GB, free: 7.527 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004533/0.4724, allocations: 4.234 MB / 0.5639 GB, free: 3.289 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004679/0.4771, allocations: 3.285 MB / 0.5671 GB, free: 15.95 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009806/0.478, allocations: 477.8 kB / 0.5676 GB, free: 15.48 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002184/0.4783, allocations: 120.8 kB / 0.5677 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00439/0.4826, allocations: 1.839 MB / 0.5695 GB, free: 13.5 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.323e-05/0.4827, allocations: 41.23 kB / 0.5696 GB, free: 13.46 MB / 462.1 MB Notification: Performance of pre-optimization done (n=25): time 2.103e-06/0.4827, allocations: 4 kB / 0.5696 GB, free: 13.45 MB / 462.1 MB Notification: Performance of matching and sorting (n=25): time 0.0009132/0.4836, allocations: 481.4 kB / 0.57 GB, free: 12.98 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.4837, allocations: 59.34 kB / 0.5701 GB, free: 12.91 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.4847, allocations: 0.9109 MB / 0.571 GB, free: 11.98 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.691e-05/0.4848, allocations: 29.7 kB / 0.571 GB, free: 11.95 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003496/0.4851, allocations: 483 kB / 0.5715 GB, free: 11.47 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.4853, allocations: 107.2 kB / 0.5716 GB, free: 11.36 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003666/0.4856, allocations: 294.4 kB / 0.5718 GB, free: 11.07 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001937/0.4858, allocations: 358.8 kB / 0.5722 GB, free: 10.71 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003729/0.4862, allocations: 226.5 kB / 0.5724 GB, free: 10.49 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009779/0.4872, allocations: 0.896 MB / 0.5733 GB, free: 9.262 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00151/0.4887, allocations: 1.213 MB / 0.5745 GB, free: 7.719 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.375e-05/0.4887, allocations: 8 kB / 0.5745 GB, free: 7.711 MB / 462.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001783/0.4905, allocations: 1.132 MB / 0.5756 GB, free: 6.574 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/0.4905, allocations: 16 kB / 0.5756 GB, free: 6.559 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.757e-05/0.4905, allocations: 28.16 kB / 0.5756 GB, free: 6.531 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.762e-05/0.4906, allocations: 28 kB / 0.5756 GB, free: 6.504 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007416/0.4913, allocations: 303.4 kB / 0.5759 GB, free: 6.207 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.905e-05/0.4914, allocations: 51.78 kB / 0.576 GB, free: 6.156 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005894/0.492, allocations: 139 kB / 0.5761 GB, free: 6.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001589/0.4921, allocations: 128 kB / 0.5762 GB, free: 5.895 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 6 (H2O_vaporization_props.definition.SelfClustering,H2O_vaporization_props.definition.data.phase,H2O_formation_props.definition.SelfClustering,H2O_formation_props.definition.data.phase,O2_dissolving_props.definition.SelfClustering,O2_dissolving_props.definition.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 132 * 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.0004368/0.4926, allocations: 337.1 kB / 0.5765 GB, free: 5.555 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.4927, allocations: 103.4 kB / 0.5766 GB, free: 5.453 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001691/0.4944, allocations: 0.7814 MB / 0.5774 GB, free: 4.68 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.4944, allocations: 0 / 0.5774 GB, free: 4.68 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.268e-06/0.4944, allocations: 3.938 kB / 0.5774 GB, free: 4.676 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.4944, allocations: 7.969 kB / 0.5774 GB, free: 4.668 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005833/0.495, allocations: 424.9 kB / 0.5778 GB, free: 4.223 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.495, allocations: 0 / 0.5778 GB, free: 4.223 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002726/0.4953, allocations: 103.9 kB / 0.5779 GB, free: 4.121 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.4953, allocations: 0 / 0.5779 GB, free: 4.121 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.943e-05/0.4953, allocations: 35.98 kB / 0.578 GB, free: 4.086 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.4953, allocations: 0 / 0.578 GB, free: 4.086 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.4953, allocations: 11.98 kB / 0.578 GB, free: 4.074 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006866/0.496, allocations: 490.7 kB / 0.5784 GB, free: 3.578 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004641/0.4965, allocations: 249.2 kB / 0.5787 GB, free: 3.324 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.11e-05/0.4966, allocations: 0 / 0.5787 GB, free: 3.324 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002449/0.4968, allocations: 12 kB / 0.5787 GB, free: 3.312 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.372e-05/0.4969, allocations: 43.89 kB / 0.5787 GB, free: 3.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001154/0.497, allocations: 90.05 kB / 0.5788 GB, free: 3.184 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000683/0.4977, allocations: 0.5654 MB / 0.5794 GB, free: 2.625 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4977, allocations: 3.938 kB / 0.5794 GB, free: 2.621 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008961/0.4986, allocations: 199.8 kB / 0.5796 GB, free: 2.426 MB / 462.1 MB 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 (25): * Single equations (assignments): 25 * 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.000474/0.4991, allocations: 229.1 kB / 0.5798 GB, free: 2.195 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009702/0.5, allocations: 0.5869 MB / 0.5804 GB, free: 1.613 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.5, allocations: 0 / 0.5804 GB, free: 1.613 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002204/0.5003, allocations: 135.8 kB / 0.5805 GB, free: 1.48 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006025/0.5009, allocations: 92.94 kB / 0.5806 GB, free: 1.395 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.5028, allocations: 1.265 MB / 0.5818 GB, free: 100 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.5032, allocations: 359.7 kB / 0.5822 GB, free: 15.72 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001368/0.5046, allocations: 0.5083 MB / 0.5826 GB, free: 15.23 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003774/0.505, allocations: 144.3 kB / 0.5828 GB, free: 15.09 MB / 478.1 MB Notification: Performance of SimCode: time 3.01e-07/0.505, allocations: 4 kB / 0.5828 GB, free: 15.09 MB / 478.1 MB Notification: Performance of Templates: time 0.01634/0.5213, allocations: 8.538 MB / 0.5911 GB, free: 6.68 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Examples.Definitions.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Examples.Definitions.pipe ; mkfifo Chemical_master_Chemical.Examples.Definitions.pipe ; head -c 1048576 < Chemical_master_Chemical.Examples.Definitions.pipe >> ../files/Chemical_master_Chemical.Examples.Definitions.sim & ./Chemical_master_Chemical.Examples.Definitions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Examples.Definitions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.266659654676914] Failed to read output from testmodel.py, exit status != 0: 0.5300805941224098 0.544748353 0.08039354 Calling exit ...