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.00158/0.00158, allocations: 109.1 kB / 18.99 MB, free: 2.609 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.001596/0.001596, allocations: 213.4 kB / 22.29 MB, free: 5.277 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.602/1.602, allocations: 230.6 MB / 256.1 MB, free: 7.723 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.1608/0.1608, allocations: 23.9 MB / 336.4 MB, free: 10.88 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.002436/0.002436, allocations: 71.83 kB / 471.7 MB, free: 6.906 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3876/0.39, allocations: 59.86 MB / 0.5191 GB, free: 9.742 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.07728/0.4673, allocations: 23.62 MB / 0.5422 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1902/0.6575, allocations: 122.1 MB / 0.6614 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009516/0.6584, allocations: 7.938 kB / 0.6614 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003562/0.662, allocations: 0.6687 MB / 0.6621 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00422/0.6662, allocations: 1.909 MB / 0.6639 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002096/0.6683, allocations: 0.5205 MB / 0.6644 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00412/0.6724, allocations: 2.01 MB / 0.6664 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.6726, allocations: 33.94 kB / 0.6664 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000533/0.6731, allocations: 378.8 kB / 0.6668 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008258/0.6739, allocations: 490.6 kB / 0.6673 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.547e-05/0.674, allocations: 16 kB / 0.6673 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002064/0.6761, allocations: 0.6785 MB / 0.668 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002287/0.6763, allocations: 159.3 kB / 0.6681 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002602/0.6765, allocations: 226.3 kB / 0.6683 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002878/0.6794, allocations: 1.662 MB / 0.6699 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.6794, allocations: 0 / 0.6699 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.974e-06/0.6794, allocations: 0 / 0.6699 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.119e-05/0.6794, allocations: 0 / 0.6699 GB, free: 14.96 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.001658/0.6811, allocations: 1.025 MB / 0.6709 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.6811, allocations: 8.031 kB / 0.671 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007132/0.6819, allocations: 295.9 kB / 0.6712 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006468/0.6825, allocations: 362 kB / 0.6716 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.752e-05/0.6825, allocations: 33.38 kB / 0.6716 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.947e-05/0.6826, allocations: 48.3 kB / 0.6717 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003128/0.6857, allocations: 2.617 MB / 0.6742 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.6858, allocations: 7.938 kB / 0.6742 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.293e-05/0.6858, allocations: 23.98 kB / 0.6742 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001196/0.6859, allocations: 89.25 kB / 0.6743 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004602/0.6905, allocations: 4.226 MB / 0.6785 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004889/0.6954, allocations: 3.292 MB / 0.6817 GB, free: 2.789 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/0.6966, allocations: 482.1 kB / 0.6821 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002268/0.6968, allocations: 108.8 kB / 0.6822 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00467/0.7015, allocations: 1.834 MB / 0.684 GB, free: 352 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.401e-05/0.7015, allocations: 46.44 kB / 0.6841 GB, free: 296 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=25): time 2.184e-06/0.7015, allocations: 0 / 0.6841 GB, free: 296 kB / 0.5137 GB Notification: Performance of matching and sorting (n=25): time 0.0009045/0.7025, allocations: 470 kB / 0.6845 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/0.7025, allocations: 55.41 kB / 0.6846 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/0.7037, allocations: 0.907 MB / 0.6855 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.925e-05/0.7037, allocations: 33.7 kB / 0.6855 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004066/0.7041, allocations: 475.1 kB / 0.6859 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/0.7043, allocations: 111.2 kB / 0.686 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003616/0.7046, allocations: 302.4 kB / 0.6863 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002273/0.7049, allocations: 358.8 kB / 0.6867 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004097/0.7053, allocations: 230.5 kB / 0.6869 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009731/0.7062, allocations: 0.8882 MB / 0.6878 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001488/0.7077, allocations: 1.223 MB / 0.689 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-05/0.7077, allocations: 11.94 kB / 0.689 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001783/0.7095, allocations: 1.122 MB / 0.6901 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.161e-05/0.7096, allocations: 16.69 kB / 0.6901 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.722e-05/0.7096, allocations: 24 kB / 0.6901 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.403e-05/0.7096, allocations: 35.98 kB / 0.6901 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009345/0.7106, allocations: 303.5 kB / 0.6904 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.253e-05/0.7106, allocations: 43.8 kB / 0.6905 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005941/0.7112, allocations: 139 kB / 0.6906 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001673/0.7114, allocations: 132 kB / 0.6907 GB, free: 8.746 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.0005081/0.7119, allocations: 337.1 kB / 0.6911 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.712, allocations: 87.38 kB / 0.6911 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001757/0.7138, allocations: 0.7861 MB / 0.6919 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.7138, allocations: 4 kB / 0.6919 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.7138, allocations: 0 / 0.6919 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.7138, allocations: 0 / 0.6919 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006873/0.7145, allocations: 417 kB / 0.6923 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.7145, allocations: 3.984 kB / 0.6923 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002711/0.7148, allocations: 103.9 kB / 0.6924 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.7148, allocations: 3.938 kB / 0.6924 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.738e-05/0.7148, allocations: 43.92 kB / 0.6925 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.7148, allocations: 0 / 0.6925 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.7148, allocations: 4 kB / 0.6925 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006611/0.7155, allocations: 479 kB / 0.6929 GB, free: 6.441 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007285/0.7162, allocations: 253.2 kB / 0.6932 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.7163, allocations: 7.938 kB / 0.6932 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003234/0.7167, allocations: 11.98 kB / 0.6932 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.7168, allocations: 39.97 kB / 0.6932 GB, free: 6.125 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001537/0.7169, allocations: 87.97 kB / 0.6933 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001092/0.718, allocations: 0.5692 MB / 0.6939 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.718, allocations: 0 / 0.6939 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001556/0.7196, allocations: 179.8 kB / 0.694 GB, free: 5.297 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.0005675/0.7202, allocations: 231.2 kB / 0.6942 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001524/0.7217, allocations: 0.5793 MB / 0.6948 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.7217, allocations: 0 / 0.6948 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003406/0.722, allocations: 139.8 kB / 0.6949 GB, free: 4.352 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008397/0.7229, allocations: 97.11 kB / 0.695 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003389/0.7263, allocations: 1.294 MB / 0.6963 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006904/0.7269, allocations: 355.7 kB / 0.6966 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002095/0.729, allocations: 0.5083 MB / 0.6971 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005468/0.7296, allocations: 140.3 kB / 0.6973 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of SimCode: time 1.112e-06/0.7296, allocations: 0 / 0.6973 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of Templates: time 0.02055/0.7501, allocations: 8.571 MB / 0.7056 GB, free: 9.445 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.906373729929328] Failed to read output from testmodel.py, exit status != 0: 0.7605643272399902 0.7787885290000001 0.095685792 Calling exit ...