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.001574/0.001574, allocations: 113 kB / 18.94 MB, free: 2.934 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.001703/0.001703, allocations: 210.8 kB / 22.25 MB, free: 5.086 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.364/1.364, allocations: 230.6 MB / 256 MB, free: 8.008 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.1273/0.1273, allocations: 23.85 MB / 336.3 MB, free: 11.17 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.002137/0.002137, allocations: 71.89 kB / 471.7 MB, free: 7.168 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2898, allocations: 59.86 MB / 0.5191 GB, free: 9.887 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.03063/0.3204, allocations: 23.76 MB / 0.5423 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1586/0.479, allocations: 142.7 MB / 0.6816 GB, free: 3.176 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002534/0.4792, allocations: 8 kB / 0.6816 GB, free: 3.168 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001967/0.4812, allocations: 0.7231 MB / 0.6823 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003176/0.4844, allocations: 2.169 MB / 0.6844 GB, free: 268 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.4856, allocations: 0.5197 MB / 0.6849 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003332/0.4889, allocations: 2.006 MB / 0.6869 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.971e-05/0.489, allocations: 37.94 kB / 0.6869 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004741/0.4895, allocations: 378.9 kB / 0.6873 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007705/0.4902, allocations: 494.6 kB / 0.6878 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.359e-05/0.4903, allocations: 16 kB / 0.6878 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002357/0.4927, allocations: 1.283 MB / 0.689 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001538/0.4928, allocations: 159.3 kB / 0.6892 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002747/0.4931, allocations: 317.8 kB / 0.6895 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002221/0.4953, allocations: 1.846 MB / 0.6913 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.4953, allocations: 0 / 0.6913 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.412e-06/0.4953, allocations: 0 / 0.6913 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.4953, allocations: 0 / 0.6913 GB, free: 9.207 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.001396/0.4967, allocations: 1.017 MB / 0.6923 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.4967, allocations: 8.031 kB / 0.6923 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006721/0.4974, allocations: 292 kB / 0.6926 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005256/0.4979, allocations: 366 kB / 0.6929 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.563e-05/0.498, allocations: 37.36 kB / 0.693 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.933e-05/0.498, allocations: 40.38 kB / 0.693 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002468/0.5005, allocations: 2.474 MB / 0.6954 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.5005, allocations: 0 / 0.6954 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.48e-05/0.5006, allocations: 20 kB / 0.6954 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001042/0.5007, allocations: 93.19 kB / 0.6955 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00397/0.5046, allocations: 4.238 MB / 0.6997 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004349/0.509, allocations: 3.537 MB / 0.7031 GB, free: 12.94 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008871/0.5099, allocations: 482.2 kB / 0.7036 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000203/0.5101, allocations: 116.8 kB / 0.7037 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004238/0.5143, allocations: 1.861 MB / 0.7055 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.5143, allocations: 34.55 kB / 0.7055 GB, free: 10.41 MB / 0.545 GB Notification: Performance of pre-optimization done (n=25): time 1.433e-06/0.5143, allocations: 7.938 kB / 0.7055 GB, free: 10.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=25): time 0.0007812/0.5151, allocations: 460.9 kB / 0.706 GB, free: 9.949 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.5152, allocations: 59.41 kB / 0.706 GB, free: 9.879 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009622/0.5161, allocations: 0.8723 MB / 0.7069 GB, free: 9 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.464e-05/0.5162, allocations: 33.7 kB / 0.7069 GB, free: 8.961 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003127/0.5165, allocations: 471.1 kB / 0.7074 GB, free: 8.492 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.103e-05/0.5166, allocations: 103.2 kB / 0.7075 GB, free: 8.391 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003238/0.5169, allocations: 310.4 kB / 0.7078 GB, free: 8.082 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.5171, allocations: 358.8 kB / 0.7081 GB, free: 7.723 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003478/0.5174, allocations: 226.5 kB / 0.7083 GB, free: 7.504 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008588/0.5183, allocations: 0.8922 MB / 0.7092 GB, free: 6.281 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/0.5196, allocations: 1.223 MB / 0.7104 GB, free: 4.727 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.318e-06/0.5196, allocations: 4 kB / 0.7104 GB, free: 4.723 MB / 0.545 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.00168/0.5213, allocations: 1.127 MB / 0.7115 GB, free: 3.59 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.929e-05/0.5213, allocations: 24.02 kB / 0.7115 GB, free: 3.566 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.324e-05/0.5214, allocations: 24 kB / 0.7115 GB, free: 3.543 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.65e-05/0.5214, allocations: 32 kB / 0.7116 GB, free: 3.512 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007015/0.5221, allocations: 299.5 kB / 0.7119 GB, free: 3.219 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-05/0.5221, allocations: 47.8 kB / 0.7119 GB, free: 3.172 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000535/0.5227, allocations: 135 kB / 0.712 GB, free: 3.039 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/0.5228, allocations: 132 kB / 0.7122 GB, free: 2.91 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.0003875/0.5232, allocations: 337.6 kB / 0.7125 GB, free: 2.57 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.5233, allocations: 95.38 kB / 0.7126 GB, free: 2.477 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001598/0.5249, allocations: 0.7859 MB / 0.7133 GB, free: 1.68 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.5249, allocations: 4 kB / 0.7133 GB, free: 1.676 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.5249, allocations: 0 / 0.7133 GB, free: 1.676 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.5249, allocations: 0 / 0.7133 GB, free: 1.676 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005792/0.5255, allocations: 480.3 kB / 0.7138 GB, free: 1.164 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.5255, allocations: 11.94 kB / 0.7138 GB, free: 1.152 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002665/0.5258, allocations: 103.9 kB / 0.7139 GB, free: 1.051 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.5258, allocations: 4 kB / 0.7139 GB, free: 1.047 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.203e-05/0.5258, allocations: 31.98 kB / 0.7139 GB, free: 1.016 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.157e-06/0.5258, allocations: 4 kB / 0.714 GB, free: 1.012 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5258, allocations: 0 / 0.714 GB, free: 1.012 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006045/0.5264, allocations: 479.2 kB / 0.7144 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004973/0.5269, allocations: 253.1 kB / 0.7147 GB, free: 276 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.213e-05/0.527, allocations: 4 kB / 0.7147 GB, free: 272 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/0.5273, allocations: 11.98 kB / 0.7147 GB, free: 260 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.855e-05/0.5273, allocations: 47.95 kB / 0.7147 GB, free: 212 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/0.5274, allocations: 91.97 kB / 0.7148 GB, free: 120 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006716/0.5281, allocations: 0.5614 MB / 0.7153 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.5281, allocations: 0 / 0.7153 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008166/0.5289, allocations: 183.8 kB / 0.7155 GB, free: 15.38 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.0003726/0.5293, allocations: 231.2 kB / 0.7157 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008823/0.5302, allocations: 0.5714 MB / 0.7163 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.5302, allocations: 4.312 kB / 0.7163 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002177/0.5304, allocations: 147.8 kB / 0.7164 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000541/0.5309, allocations: 93.94 kB / 0.7165 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.5328, allocations: 1.286 MB / 0.7178 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005876/0.5334, allocations: 0.9604 MB / 0.7187 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001318/0.5347, allocations: 0.5083 MB / 0.7192 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003597/0.5351, allocations: 139.3 kB / 0.7194 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of SimCode: time 4.71e-07/0.5351, allocations: 0 / 0.7194 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of Templates: time 0.01557/0.5506, allocations: 9.244 MB / 0.7284 GB, free: 2.156 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: 5.0888124271295965] Failed to read output from testmodel.py, exit status != 0: 0.5593514521606266 0.719747098 0.22196088900000002 Calling exit ...