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.00135/0.00135, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001566/0.001566, allocations: 211.2 kB / 22.99 MB, free: 4.984 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.404/1.404, 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.1565/0.1565, allocations: 23.87 MB / 337 MB, free: 11.08 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.001993/0.001993, allocations: 67.88 kB / 472.4 MB, free: 7.039 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.387/0.389, allocations: 59.86 MB / 0.5198 GB, free: 9.773 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.07011/0.4591, allocations: 23.5 MB / 0.5427 GB, free: 15.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1682/0.6274, allocations: 122.1 MB / 0.6619 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004698/0.6278, allocations: 11.94 kB / 0.6619 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002566/0.6304, allocations: 0.6531 MB / 0.6626 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003552/0.634, allocations: 1.92 MB / 0.6644 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001642/0.6356, allocations: 0.5128 MB / 0.6649 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003643/0.6392, allocations: 2.01 MB / 0.6669 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.6393, allocations: 33.89 kB / 0.6669 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004965/0.6398, allocations: 374.9 kB / 0.6673 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007551/0.6406, allocations: 0.4907 MB / 0.6678 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.095e-05/0.6407, allocations: 20 kB / 0.6678 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001734/0.6424, allocations: 0.7058 MB / 0.6685 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001628/0.6426, allocations: 155.3 kB / 0.6686 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002318/0.6428, allocations: 226.4 kB / 0.6688 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002333/0.6451, allocations: 1.662 MB / 0.6705 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.6451, allocations: 0 / 0.6705 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6451, allocations: 0 / 0.6705 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.218e-06/0.6451, 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.001573/0.6467, allocations: 1.021 MB / 0.6715 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.6468, allocations: 8.031 kB / 0.6715 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007545/0.6475, allocations: 296 kB / 0.6717 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006023/0.6481, allocations: 362 kB / 0.6721 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.136e-05/0.6482, allocations: 29.38 kB / 0.6721 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.003e-05/0.6482, allocations: 48.36 kB / 0.6722 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002852/0.6511, allocations: 2.621 MB / 0.6747 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.6511, allocations: 3.984 kB / 0.6747 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.37e-05/0.6512, allocations: 27.98 kB / 0.6748 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001067/0.6513, allocations: 85.27 kB / 0.6748 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004122/0.6554, allocations: 4.242 MB / 0.679 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004673/0.6601, allocations: 3.277 MB / 0.6822 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009876/0.6611, allocations: 486.9 kB / 0.6826 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002244/0.6613, allocations: 112.8 kB / 0.6828 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004732/0.666, allocations: 1.834 MB / 0.6845 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.666, allocations: 34.5 kB / 0.6846 GB, free: 484 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=25): time 2.144e-06/0.666, allocations: 0 / 0.6846 GB, free: 484 kB / 0.5137 GB Notification: Performance of matching and sorting (n=25): time 0.0008762/0.6669, allocations: 469.7 kB / 0.685 GB, free: 8 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.71e-05/0.667, allocations: 55.41 kB / 0.6851 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/0.6681, allocations: 0.9148 MB / 0.686 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.031e-05/0.6682, allocations: 29.7 kB / 0.686 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003729/0.6686, allocations: 483.1 kB / 0.6865 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.6687, allocations: 107.2 kB / 0.6866 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003782/0.669, allocations: 298.5 kB / 0.6868 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002082/0.6693, allocations: 358.8 kB / 0.6872 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003746/0.6696, allocations: 230.5 kB / 0.6874 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009429/0.6706, allocations: 0.8921 MB / 0.6883 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001553/0.6721, allocations: 1.215 MB / 0.6895 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.181e-05/0.6721, allocations: 12 kB / 0.6895 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.00179/0.6739, allocations: 1.123 MB / 0.6906 GB, free: 9.609 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.162e-05/0.674, allocations: 23.88 kB / 0.6906 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.843e-05/0.674, allocations: 24 kB / 0.6906 GB, free: 9.562 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.171e-05/0.674, allocations: 28 kB / 0.6906 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007291/0.6748, allocations: 303.5 kB / 0.6909 GB, free: 9.238 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.355e-05/0.6748, allocations: 52.28 kB / 0.691 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005539/0.6754, allocations: 139 kB / 0.6911 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001548/0.6755, allocations: 132 kB / 0.6912 GB, free: 8.922 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.0004394/0.676, allocations: 337.1 kB / 0.6916 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/0.6761, allocations: 95.31 kB / 0.6917 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00171/0.6778, allocations: 0.7861 MB / 0.6924 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.6778, allocations: 4 kB / 0.6924 GB, free: 7.688 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.6778, allocations: 0 / 0.6924 GB, free: 7.688 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.6778, allocations: 3.984 kB / 0.6924 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005829/0.6784, allocations: 413 kB / 0.6928 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.6784, allocations: 4 kB / 0.6928 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000286/0.6787, allocations: 103.9 kB / 0.6929 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.6787, allocations: 4 kB / 0.6929 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.083e-05/0.6788, allocations: 31.92 kB / 0.693 GB, free: 7.109 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.6788, allocations: 4 kB / 0.693 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.6788, allocations: 7.969 kB / 0.693 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006513/0.6794, allocations: 479 kB / 0.6934 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005528/0.68, allocations: 253.1 kB / 0.6937 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.025e-05/0.6801, allocations: 11.94 kB / 0.6937 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.6803, allocations: 8 kB / 0.6937 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.824e-05/0.6804, allocations: 47.95 kB / 0.6937 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/0.6805, allocations: 83.98 kB / 0.6938 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006706/0.6812, allocations: 0.5654 MB / 0.6944 GB, free: 5.645 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.6812, allocations: 0 / 0.6944 GB, free: 5.645 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000939/0.6821, allocations: 183.8 kB / 0.6945 GB, free: 5.465 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.0004328/0.6825, allocations: 223.1 kB / 0.6948 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0009385/0.6835, allocations: 0.5825 MB / 0.6953 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.6835, allocations: 0.875 kB / 0.6953 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002289/0.6837, allocations: 139.8 kB / 0.6955 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006078/0.6843, allocations: 93.98 kB / 0.6956 GB, free: 4.43 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001996/0.6863, allocations: 1.287 MB / 0.6968 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/0.6867, allocations: 367.5 kB / 0.6972 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00141/0.6881, allocations: 0.5121 MB / 0.6977 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003845/0.6885, allocations: 143.3 kB / 0.6978 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of SimCode: time 1.522e-06/0.6885, allocations: 0 / 0.6978 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of Templates: time 0.01739/0.7059, allocations: 9.448 MB / 0.707 GB, free: 8.727 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 cvode -lv LOG_STATS > Chemical_Chemical.Examples.Definitions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.455375099001685] Failed to read output from testmodel.py, exit status != 0: 0.714695186004974 0.729250219 0.08107813100000001 Calling exit ...