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.001292/0.001292, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.001421/0.001421, allocations: 214.4 kB / 23 MB, free: 4.969 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.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.1361/0.1361, allocations: 23.88 MB / 337.1 MB, free: 10.98 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.002092/0.002092, allocations: 71.88 kB / 472.4 MB, free: 7.02 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3029, allocations: 59.86 MB / 0.5198 GB, free: 9.863 MB / 382.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.07006/0.373, allocations: 23.5 MB / 0.5427 GB, free: 15.87 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1653/0.5383, allocations: 122.1 MB / 0.6619 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004244/0.5387, allocations: 11.94 kB / 0.6619 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0024/0.5411, allocations: 0.6492 MB / 0.6626 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003604/0.5447, allocations: 1.92 MB / 0.6644 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001634/0.5463, allocations: 0.5205 MB / 0.665 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003553/0.5499, allocations: 1.999 MB / 0.6669 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.4e-05/0.55, allocations: 29.95 kB / 0.6669 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004881/0.5505, allocations: 386.8 kB / 0.6673 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007345/0.5512, allocations: 494.5 kB / 0.6678 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.443e-05/0.5513, allocations: 20 kB / 0.6678 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001653/0.5529, allocations: 0.7097 MB / 0.6685 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001593/0.5531, allocations: 151.3 kB / 0.6686 GB, free: 1 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002192/0.5533, allocations: 230.3 kB / 0.6689 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00202/0.5553, allocations: 1.658 MB / 0.6705 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5553, allocations: 0 / 0.6705 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5553, allocations: 0 / 0.6705 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.5553, allocations: 0 / 0.6705 GB, free: 15.11 MB / 0.5137 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.001528/0.5569, allocations: 1.025 MB / 0.6715 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.5569, allocations: 8.031 kB / 0.6715 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007277/0.5576, allocations: 292 kB / 0.6718 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005847/0.5582, allocations: 362 kB / 0.6721 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.168e-05/0.5583, allocations: 33.38 kB / 0.6721 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.43e-05/0.5583, allocations: 44.36 kB / 0.6722 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002782/0.5611, allocations: 2.625 MB / 0.6747 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.5611, allocations: 7.938 kB / 0.6748 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.501e-05/0.5612, allocations: 23.97 kB / 0.6748 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001087/0.5613, allocations: 89.2 kB / 0.6749 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004314/0.5656, allocations: 4.23 MB / 0.679 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004631/0.5702, allocations: 3.285 MB / 0.6822 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009994/0.5712, allocations: 483 kB / 0.6827 GB, free: 2.457 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/0.5715, allocations: 112.8 kB / 0.6828 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004695/0.5762, allocations: 1.834 MB / 0.6846 GB, free: 496 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.5762, allocations: 38.44 kB / 0.6846 GB, free: 448 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=25): time 1.914e-06/0.5762, allocations: 0 / 0.6846 GB, free: 448 kB / 0.5137 GB Notification: Performance of matching and sorting (n=25): time 0.0008862/0.5771, allocations: 469.9 kB / 0.685 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.5771, allocations: 55.41 kB / 0.6851 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.5782, allocations: 0.9109 MB / 0.686 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.361e-05/0.5782, allocations: 29.7 kB / 0.686 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003274/0.5785, allocations: 479 kB / 0.6865 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.5786, allocations: 107.2 kB / 0.6866 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003466/0.579, allocations: 302.4 kB / 0.6869 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.5792, allocations: 362.7 kB / 0.6872 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003731/0.5795, allocations: 230.5 kB / 0.6874 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009195/0.5804, allocations: 0.8921 MB / 0.6883 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001455/0.5819, allocations: 1.219 MB / 0.6895 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.147e-05/0.5819, allocations: 8 kB / 0.6895 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001823/0.5837, allocations: 1.122 MB / 0.6906 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.093e-05/0.5838, allocations: 20.88 kB / 0.6906 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.856e-05/0.5838, allocations: 24 kB / 0.6906 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.167e-05/0.5838, allocations: 32 kB / 0.6907 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007806/0.5846, allocations: 307.4 kB / 0.691 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.907e-05/0.5847, allocations: 51.78 kB / 0.691 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005534/0.5852, allocations: 139 kB / 0.6911 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001605/0.5854, allocations: 128 kB / 0.6913 GB, free: 8.887 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.0004292/0.5858, allocations: 333.1 kB / 0.6916 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.5859, allocations: 91.38 kB / 0.6917 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001746/0.5877, allocations: 0.7822 MB / 0.6924 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.5877, allocations: 11.98 kB / 0.6924 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.5877, allocations: 0 / 0.6924 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005503/0.5883, allocations: 249.2 kB / 0.6927 GB, free: 7.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.934e-05/0.5883, allocations: 4 kB / 0.6927 GB, free: 7.398 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002416/0.5886, allocations: 11.98 kB / 0.6927 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.45e-05/0.5887, allocations: 39.97 kB / 0.6927 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000748/0.5894, allocations: 436.8 kB / 0.6931 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007085/0.5901, allocations: 0.541 MB / 0.6937 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001922/0.5903, allocations: 95.95 kB / 0.6938 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007444/0.5911, allocations: 0.5654 MB / 0.6943 GB, free: 5.699 MB / 0.5294 GB Notification: Performance of Backend: time 5.81e-07/0.5911, allocations: 4 kB / 0.6943 GB, free: 5.695 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001891/0.593, allocations: 0.7994 MB / 0.6951 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of SimCode: time 0.002413/0.5954, allocations: 1.782 MB / 0.6968 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of Templates: time 0.02447/0.6198, allocations: 15.16 MB / 0.7116 GB, free: 4.012 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 -lv LOG_STATS > Chemical_Chemical.Examples.Definitions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.44053552900732] Failed to read output from testmodel.py, exit status != 0: 0.6280917090043658 0.64341134 0.08503480100000001 Calling exit ...