Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001544/0.001544, allocations: 84.83 kB / 19.76 MB, free: 2.023 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.001788/0.001788, allocations: 157 kB / 23.01 MB, free: 4.961 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.362/1.362, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 179] 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.1269/0.1269, allocations: 17.36 MB / 277.1 MB, free: 15.27 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.Examples.Definitions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.Definitions") translateModel(Chemical.Examples.Definitions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.Definitions") [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.002064/0.002064, allocations: 67.89 kB / 412.4 MB, free: 5.719 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1055, allocations: 59.85 MB / 472.3 MB, free: 9.75 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:465:5-465: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 2.0.0/Interfaces.mo:465:5-465: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.4007/0.5062, allocations: 23.62 MB / 495.9 MB, free: 39.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1257/0.6319, allocations: 122.1 MB / 0.6035 GB, free: 13.91 MB / 0.4982 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002028/0.6321, allocations: 7.938 kB / 0.6035 GB, free: 13.9 MB / 0.4982 GB Notification: Performance of NFTyping.typeComponents: time 0.001923/0.634, allocations: 0.6569 MB / 0.6042 GB, free: 13.24 MB / 0.4982 GB Notification: Performance of NFTyping.typeBindings: time 0.002958/0.637, allocations: 1.913 MB / 0.606 GB, free: 11.32 MB / 0.4982 GB Notification: Performance of NFTyping.typeClassSections: time 0.00119/0.6382, allocations: 0.5244 MB / 0.6065 GB, free: 10.79 MB / 0.4982 GB Notification: Performance of NFFlatten.flatten: time 0.003185/0.6413, allocations: 1.998 MB / 0.6085 GB, free: 8.789 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 7.433e-05/0.6414, allocations: 25.97 kB / 0.6085 GB, free: 8.758 MB / 0.4982 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004698/0.6419, allocations: 378.8 kB / 0.6089 GB, free: 8.387 MB / 0.4982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006938/0.6426, allocations: 490.5 kB / 0.6093 GB, free: 7.906 MB / 0.4982 GB Notification: Performance of NFPackage.collectConstants: time 6.122e-05/0.6426, allocations: 20 kB / 0.6094 GB, free: 7.887 MB / 0.4982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001393/0.644, allocations: 0.6746 MB / 0.61 GB, free: 7.211 MB / 0.4982 GB Notification: Performance of NFScalarize.scalarize: time 0.0001644/0.6442, allocations: 163.3 kB / 0.6102 GB, free: 7.051 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.0002239/0.6444, allocations: 226.3 kB / 0.6104 GB, free: 6.828 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.0021/0.6465, allocations: 1.662 MB / 0.612 GB, free: 5.16 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.6465, allocations: 0 / 0.612 GB, free: 5.16 MB / 0.4982 GB Notification: Performance of FrontEnd: time 1.293e-06/0.6465, allocations: 0 / 0.612 GB, free: 5.16 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.6465, allocations: 0 / 0.612 GB, free: 5.16 MB / 0.4982 GB 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.001395/0.6479, allocations: 1.026 MB / 0.613 GB, free: 4.102 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.648, allocations: 8.031 kB / 0.613 GB, free: 4.094 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006726/0.6486, allocations: 288 kB / 0.6133 GB, free: 3.812 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005047/0.6491, allocations: 362 kB / 0.6137 GB, free: 3.43 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.136e-05/0.6492, allocations: 29.38 kB / 0.6137 GB, free: 3.402 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.793e-05/0.6492, allocations: 44.36 kB / 0.6137 GB, free: 3.359 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002637/0.6519, allocations: 2.632 MB / 0.6163 GB, free: 0.6719 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.6519, allocations: 4 kB / 0.6163 GB, free: 0.668 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.349e-05/0.6519, allocations: 19.98 kB / 0.6163 GB, free: 0.6484 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001044/0.652, allocations: 85.27 kB / 0.6164 GB, free: 0.5664 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004084/0.6561, allocations: 4.238 MB / 0.6205 GB, free: 12.33 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004162/0.6603, allocations: 3.276 MB / 0.6237 GB, free: 9.004 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009045/0.6612, allocations: 479.3 kB / 0.6242 GB, free: 8.527 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002035/0.6614, allocations: 112.8 kB / 0.6243 GB, free: 8.414 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004316/0.6657, allocations: 1.845 MB / 0.6261 GB, free: 6.547 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.6657, allocations: 38.5 kB / 0.6261 GB, free: 6.5 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=25): time 1.734e-06/0.6657, allocations: 3.938 kB / 0.6261 GB, free: 6.496 MB / 0.5138 GB Notification: Performance of matching and sorting (n=25): time 0.000815/0.6666, allocations: 466.4 kB / 0.6266 GB, free: 6.035 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.6666, allocations: 59.41 kB / 0.6266 GB, free: 5.965 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/0.6676, allocations: 0.9187 MB / 0.6275 GB, free: 5.039 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 4.01e-05/0.6677, allocations: 29.7 kB / 0.6276 GB, free: 5.004 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003408/0.668, allocations: 479.1 kB / 0.628 GB, free: 4.527 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 9.484e-05/0.6681, allocations: 107.2 kB / 0.6281 GB, free: 4.422 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003425/0.6685, allocations: 298.5 kB / 0.6284 GB, free: 4.125 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001861/0.6686, allocations: 358.8 kB / 0.6288 GB, free: 3.766 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003616/0.669, allocations: 230.5 kB / 0.629 GB, free: 3.543 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008943/0.6699, allocations: 0.8882 MB / 0.6298 GB, free: 2.324 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001405/0.6713, allocations: 1.219 MB / 0.631 GB, free: 0.7734 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.068e-05/0.6713, allocations: 8 kB / 0.631 GB, free: 0.7656 MB / 0.5138 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.00169/0.673, allocations: 1.122 MB / 0.6321 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/0.673, allocations: 19.94 kB / 0.6322 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.136e-05/0.6731, allocations: 20.91 kB / 0.6322 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.473e-05/0.6731, allocations: 32 kB / 0.6322 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007042/0.6738, allocations: 307.5 kB / 0.6325 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.082e-05/0.6739, allocations: 47.84 kB / 0.6325 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005137/0.6744, allocations: 139 kB / 0.6327 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001447/0.6745, allocations: 128 kB / 0.6328 GB, free: 14.96 MB / 0.5294 GB 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.0003996/0.6749, allocations: 341.1 kB / 0.6331 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.675, allocations: 87.38 kB / 0.6332 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001653/0.6767, allocations: 0.7859 MB / 0.634 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.6767, allocations: 0 / 0.634 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.6767, allocations: 11.98 kB / 0.634 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.6767, allocations: 0 / 0.634 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005322/0.6772, allocations: 413 kB / 0.6344 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.6772, allocations: 0 / 0.6344 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000266/0.6775, allocations: 99.95 kB / 0.6345 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.6775, allocations: 7.984 kB / 0.6345 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.578e-05/0.6776, allocations: 31.94 kB / 0.6345 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.6776, allocations: 7.984 kB / 0.6345 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.6776, allocations: 0 / 0.6345 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006266/0.6782, allocations: 479.2 kB / 0.635 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004961/0.6787, allocations: 257.2 kB / 0.6352 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.409e-05/0.6788, allocations: 11.88 kB / 0.6352 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.679, allocations: 8 kB / 0.6352 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.706e-05/0.679, allocations: 39.95 kB / 0.6353 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/0.6791, allocations: 87.98 kB / 0.6354 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006596/0.6798, allocations: 0.5654 MB / 0.6359 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.6798, allocations: 4 kB / 0.6359 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008085/0.6806, allocations: 179.8 kB / 0.6361 GB, free: 11.51 MB / 0.5294 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 (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.0003547/0.681, allocations: 227.2 kB / 0.6363 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008853/0.6819, allocations: 0.5833 MB / 0.6369 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.6819, allocations: 0 / 0.6369 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002226/0.6821, allocations: 135.9 kB / 0.637 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005559/0.6826, allocations: 99.16 kB / 0.6371 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/0.6845, allocations: 1.299 MB / 0.6384 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/0.6849, allocations: 363.6 kB / 0.6387 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001335/0.6862, allocations: 0.5044 MB / 0.6392 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003583/0.6866, allocations: 144.3 kB / 0.6393 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of SimCode: time 4.71e-07/0.6866, allocations: 0 / 0.6393 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of Templates: time 0.01475/0.7013, allocations: 8.572 MB / 0.6477 GB, free: 15.65 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Examples.Definitions.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.Definitions.pipe ; mkfifo Chemical_Chemical.Examples.Definitions.pipe ; head -c 1048576 < Chemical_Chemical.Examples.Definitions.pipe >> ../files/Chemical_Chemical.Examples.Definitions.sim & ./Chemical_Chemical.Examples.Definitions -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > Chemical_Chemical.Examples.Definitions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.055932057090104] Failed to read output from testmodel.py, exit status != 0: 0.7090434309793636 0.7228284770000001 0.073280629 Calling exit ...