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.001317/0.001317, 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.001431/0.001431, allocations: 216.1 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.439/1.439, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.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.1383/0.1383, allocations: 23.92 MB / 337.1 MB, free: 10.93 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: 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.002039/0.002039, allocations: 67.89 kB / 472.4 MB, free: 6.949 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2963, allocations: 59.88 MB / 0.5198 GB, free: 9.77 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:437:5-437: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:437:5-437: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.06658/0.3629, allocations: 23.49 MB / 0.5428 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1533/0.5162, allocations: 122 MB / 0.6619 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002455/0.5165, allocations: 4 kB / 0.6619 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001968/0.5184, allocations: 0.6026 MB / 0.6625 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003322/0.5218, allocations: 1.951 MB / 0.6644 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.5231, allocations: 0.5317 MB / 0.6649 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003346/0.5264, allocations: 1.991 MB / 0.6669 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.945e-05/0.5265, allocations: 29.97 kB / 0.6669 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004825/0.527, allocations: 382.8 kB / 0.6673 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007374/0.5277, allocations: 498.5 kB / 0.6678 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.652e-05/0.5278, allocations: 20 kB / 0.6678 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001474/0.5293, allocations: 0.702 MB / 0.6685 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001615/0.5294, allocations: 155.3 kB / 0.6686 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002285/0.5297, allocations: 234.3 kB / 0.6688 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002027/0.5317, allocations: 1.658 MB / 0.6705 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.5317, allocations: 4 kB / 0.6705 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5317, allocations: 0 / 0.6705 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.355e-06/0.5317, allocations: 0 / 0.6705 GB, free: 15.14 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.001505/0.5332, allocations: 1.021 MB / 0.6715 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.5332, allocations: 12.03 kB / 0.6715 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007449/0.534, allocations: 288 kB / 0.6717 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005587/0.5345, allocations: 370 kB / 0.6721 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.538e-05/0.5346, allocations: 37.36 kB / 0.6721 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.039e-05/0.5347, allocations: 44.38 kB / 0.6722 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002749/0.5374, allocations: 2.629 MB / 0.6747 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.5374, allocations: 0 / 0.6747 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.899e-05/0.5375, allocations: 16 kB / 0.6748 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001113/0.5376, allocations: 89.27 kB / 0.6748 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004403/0.542, allocations: 4.234 MB / 0.679 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004775/0.5468, allocations: 3.285 MB / 0.6822 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.5478, allocations: 477.6 kB / 0.6826 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000233/0.548, allocations: 120.8 kB / 0.6828 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004796/0.5528, allocations: 1.83 MB / 0.6845 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.5528, allocations: 42.5 kB / 0.6846 GB, free: 484 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=25): time 2.054e-06/0.5528, allocations: 4 kB / 0.6846 GB, free: 480 kB / 0.5137 GB Notification: Performance of matching and sorting (n=25): time 0.0008984/0.5537, allocations: 465.7 kB / 0.685 GB, free: 8 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.5538, allocations: 51.41 kB / 0.6851 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/0.5549, allocations: 0.9148 MB / 0.686 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.513e-05/0.5549, allocations: 29.7 kB / 0.686 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003762/0.5553, allocations: 483.1 kB / 0.6865 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.5554, allocations: 107.2 kB / 0.6866 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000373/0.5558, allocations: 294.5 kB / 0.6868 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002014/0.556, allocations: 358.8 kB / 0.6872 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004364/0.5564, allocations: 234.4 kB / 0.6874 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001153/0.5576, allocations: 0.8961 MB / 0.6883 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001549/0.5591, allocations: 1.219 MB / 0.6895 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/0.5592, allocations: 4 kB / 0.6895 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001896/0.561, allocations: 1.127 MB / 0.6906 GB, free: 9.609 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/0.5611, allocations: 19.94 kB / 0.6906 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.091e-05/0.5611, allocations: 32.16 kB / 0.6906 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.803e-05/0.5612, allocations: 32 kB / 0.6907 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000805/0.562, allocations: 295.5 kB / 0.6909 GB, free: 9.238 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-05/0.562, allocations: 47.84 kB / 0.691 GB, free: 9.191 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005771/0.5626, allocations: 143 kB / 0.6911 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001635/0.5627, allocations: 124 kB / 0.6912 GB, free: 8.93 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.0004816/0.5632, allocations: 341.1 kB / 0.6916 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.5634, allocations: 91.38 kB / 0.6917 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001909/0.5653, allocations: 0.7784 MB / 0.6924 GB, free: 7.707 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.522e-05/0.5653, allocations: 3.984 kB / 0.6924 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.5653, allocations: 0 / 0.6924 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005599/0.5658, allocations: 245.2 kB / 0.6926 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.156e-05/0.5659, allocations: 8 kB / 0.6927 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002499/0.5662, allocations: 15.92 kB / 0.6927 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.406e-05/0.5663, allocations: 47.89 kB / 0.6927 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007966/0.5671, allocations: 424.9 kB / 0.6931 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007101/0.5678, allocations: 0.5371 MB / 0.6936 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001991/0.568, allocations: 107.9 kB / 0.6938 GB, free: 6.301 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007125/0.5687, allocations: 0.5614 MB / 0.6943 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of Backend: time 3.41e-07/0.5687, allocations: 0 / 0.6943 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001828/0.5705, allocations: 0.808 MB / 0.6951 GB, free: 4.934 MB / 0.5294 GB Notification: Performance of SimCode: time 0.002467/0.573, allocations: 1.786 MB / 0.6968 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of Templates: time 0.02525/0.5982, allocations: 15.13 MB / 0.7116 GB, free: 4.062 MB / 0.545 GB " [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.221359642993775] Failed to read output from testmodel.py, exit status != 0: 0.6060501640022267 0.620938869 0.08617717199999994 Calling exit ...