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.001413/0.001413, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.00158/0.00158, allocations: 221.5 kB / 23.01 MB, free: 4.605 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 8.094 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.1346/0.1346, allocations: 23.86 MB / 337.1 MB, free: 11.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.002092/0.002092, allocations: 64.19 kB / 472.4 MB, free: 7.266 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2977, allocations: 59.85 MB / 0.5198 GB, free: 9.875 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.03559/0.3332, allocations: 23.78 MB / 0.543 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1734/0.5067, allocations: 142.7 MB / 0.6824 GB, free: 3.285 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004403/0.5071, allocations: 7.938 kB / 0.6824 GB, free: 3.277 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.002327/0.5094, allocations: 0.727 MB / 0.6831 GB, free: 2.547 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.003807/0.5132, allocations: 2.166 MB / 0.6852 GB, free: 380 kB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.001575/0.5148, allocations: 0.5206 MB / 0.6857 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003816/0.5186, allocations: 2.01 MB / 0.6877 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.5187, allocations: 25.95 kB / 0.6877 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005576/0.5193, allocations: 382.8 kB / 0.6881 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008821/0.5202, allocations: 0.4907 MB / 0.6885 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001235/0.5203, allocations: 23.94 kB / 0.6886 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002634/0.5229, allocations: 1.275 MB / 0.6898 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001811/0.5231, allocations: 155.3 kB / 0.6899 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003197/0.5234, allocations: 317.8 kB / 0.6903 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002895/0.5263, allocations: 1.838 MB / 0.692 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.5263, allocations: 0 / 0.692 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.813e-06/0.5263, allocations: 0 / 0.692 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.5e-05/0.5264, allocations: 0 / 0.692 GB, free: 9.324 MB / 0.5294 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.001751/0.5281, allocations: 1.029 MB / 0.6931 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.5282, allocations: 8.031 kB / 0.6931 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007643/0.5289, allocations: 292 kB / 0.6933 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006222/0.5296, allocations: 366 kB / 0.6937 GB, free: 7.586 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.913e-05/0.5296, allocations: 29.38 kB / 0.6937 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.466e-05/0.5297, allocations: 44.36 kB / 0.6938 GB, free: 7.516 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00284/0.5325, allocations: 2.474 MB / 0.6962 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.5325, allocations: 0 / 0.6962 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.132e-05/0.5326, allocations: 19.98 kB / 0.6962 GB, free: 5 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001116/0.5327, allocations: 93.25 kB / 0.6963 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004469/0.5371, allocations: 4.242 MB / 0.7004 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004924/0.5421, allocations: 3.525 MB / 0.7039 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009682/0.543, allocations: 487 kB / 0.7043 GB, free: 12.57 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/0.5433, allocations: 116.8 kB / 0.7044 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004675/0.5479, allocations: 1.861 MB / 0.7063 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.993e-05/0.548, allocations: 42.56 kB / 0.7063 GB, free: 10.52 MB / 0.545 GB Notification: Performance of pre-optimization done (n=25): time 2.325e-06/0.548, allocations: 0 / 0.7063 GB, free: 10.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=25): time 0.0009095/0.5489, allocations: 460.9 kB / 0.7067 GB, free: 10.06 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/0.549, allocations: 51.41 kB / 0.7068 GB, free: 9.996 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/0.5501, allocations: 0.8723 MB / 0.7076 GB, free: 9.117 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.647e-05/0.5502, allocations: 37.64 kB / 0.7077 GB, free: 9.074 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003356/0.5505, allocations: 471.1 kB / 0.7081 GB, free: 8.605 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.5506, allocations: 115.2 kB / 0.7082 GB, free: 8.492 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003905/0.551, allocations: 302.4 kB / 0.7085 GB, free: 8.191 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.5512, allocations: 358.8 kB / 0.7089 GB, free: 7.832 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000373/0.5516, allocations: 226.5 kB / 0.7091 GB, free: 7.613 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009509/0.5525, allocations: 0.8922 MB / 0.71 GB, free: 6.391 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001558/0.5541, allocations: 1.223 MB / 0.7111 GB, free: 4.836 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.578e-05/0.5541, allocations: 4 kB / 0.7112 GB, free: 4.832 MB / 0.545 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001957/0.556, allocations: 1.134 MB / 0.7123 GB, free: 3.691 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.068e-05/0.5561, allocations: 18.66 kB / 0.7123 GB, free: 3.676 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.555e-05/0.5561, allocations: 24 kB / 0.7123 GB, free: 3.652 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.362e-05/0.5561, allocations: 32 kB / 0.7123 GB, free: 3.621 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008007/0.557, allocations: 292.2 kB / 0.7126 GB, free: 3.336 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-05/0.557, allocations: 51.73 kB / 0.7127 GB, free: 3.285 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005976/0.5576, allocations: 139 kB / 0.7128 GB, free: 3.148 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001535/0.5577, allocations: 135.9 kB / 0.7129 GB, free: 3.016 MB / 0.545 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.0005039/0.5583, allocations: 337.6 kB / 0.7132 GB, free: 2.676 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/0.5584, allocations: 91.38 kB / 0.7133 GB, free: 2.586 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001743/0.5601, allocations: 0.7782 MB / 0.7141 GB, free: 1.797 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.5601, allocations: 4 kB / 0.7141 GB, free: 1.793 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.5601, allocations: 0 / 0.7141 GB, free: 1.793 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.5602, allocations: 4 kB / 0.7141 GB, free: 1.789 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006456/0.5608, allocations: 484.3 kB / 0.7146 GB, free: 1.273 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.5608, allocations: 7.938 kB / 0.7146 GB, free: 1.266 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00032/0.5611, allocations: 103.9 kB / 0.7147 GB, free: 1.164 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.5611, allocations: 4 kB / 0.7147 GB, free: 1.16 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.762e-05/0.5612, allocations: 27.98 kB / 0.7147 GB, free: 1.133 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.5612, allocations: 4 kB / 0.7147 GB, free: 1.129 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5612, allocations: 0 / 0.7147 GB, free: 1.129 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006988/0.5619, allocations: 487.1 kB / 0.7152 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005466/0.5624, allocations: 253.1 kB / 0.7154 GB, free: 388 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.612e-05/0.5625, allocations: 7.984 kB / 0.7154 GB, free: 380 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002446/0.5628, allocations: 12 kB / 0.7154 GB, free: 368 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.896e-05/0.5629, allocations: 39.95 kB / 0.7155 GB, free: 328 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/0.563, allocations: 83.98 kB / 0.7155 GB, free: 244 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007568/0.5637, allocations: 0.5654 MB / 0.7161 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5637, allocations: 0 / 0.7161 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009075/0.5646, allocations: 179.8 kB / 0.7163 GB, free: 15.5 MB / 0.5606 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.0004156/0.565, allocations: 231.2 kB / 0.7165 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001021/0.5661, allocations: 0.5861 MB / 0.7171 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.5661, allocations: 0 / 0.7171 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002514/0.5663, allocations: 135.9 kB / 0.7172 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005731/0.5669, allocations: 101.9 kB / 0.7173 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002162/0.569, allocations: 1.361 MB / 0.7186 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006462/0.5697, allocations: 0.9604 MB / 0.7196 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005847/0.5703, allocations: 195.2 kB / 0.7197 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of SimCode: time 5.21e-07/0.5703, allocations: 4 kB / 0.7197 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of Templates: time 0.01616/0.5864, allocations: 10.07 MB / 0.7296 GB, free: 1.781 MB / 0.5606 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: 8.445262284949422] Failed to read output from testmodel.py, exit status != 0: 0.5956730309408158 0.8249308460000001 0.295841603 Calling exit ...