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.001422/0.001422, 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.001694/0.001694, allocations: 212.5 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.534/1.534, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.1459/0.1459, allocations: 23.89 MB / 337.1 MB, free: 10.99 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.002057/0.002057, allocations: 63.91 kB / 472.4 MB, free: 7.035 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3598, allocations: 59.87 MB / 0.5198 GB, free: 9.812 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.07344/0.4333, allocations: 23.49 MB / 0.5427 GB, free: 15.9 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1769/0.6101, allocations: 122.1 MB / 0.6619 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005332/0.6107, allocations: 7.938 kB / 0.6619 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002547/0.6132, allocations: 0.657 MB / 0.6626 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00393/0.6171, allocations: 1.92 MB / 0.6644 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00189/0.619, allocations: 0.5244 MB / 0.6649 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004008/0.623, allocations: 1.994 MB / 0.6669 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.6232, allocations: 37.92 kB / 0.6669 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005616/0.6237, allocations: 378.9 kB / 0.6673 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007882/0.6245, allocations: 0.4907 MB / 0.6678 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.393e-05/0.6246, allocations: 20 kB / 0.6678 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00207/0.6267, allocations: 0.7019 MB / 0.6685 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001956/0.6269, allocations: 159.3 kB / 0.6686 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002691/0.6271, allocations: 226.3 kB / 0.6688 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002639/0.6298, allocations: 1.655 MB / 0.6705 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.473e-06/0.6298, allocations: 0 / 0.6705 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.384e-06/0.6298, allocations: 4 kB / 0.6705 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.724e-05/0.6298, allocations: 0 / 0.6705 GB, free: 15.12 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.001704/0.6315, allocations: 1.021 MB / 0.6715 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.6316, allocations: 12.03 kB / 0.6715 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007462/0.6323, allocations: 292 kB / 0.6718 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006813/0.633, allocations: 362 kB / 0.6721 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.148e-05/0.633, allocations: 37.38 kB / 0.6721 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.796e-05/0.6331, allocations: 44.36 kB / 0.6722 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002975/0.6361, allocations: 2.625 MB / 0.6747 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.6361, allocations: 0 / 0.6747 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.633e-05/0.6362, allocations: 23.97 kB / 0.6748 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001122/0.6363, allocations: 93.27 kB / 0.6748 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004582/0.6408, allocations: 4.234 MB / 0.679 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004975/0.6458, allocations: 3.285 MB / 0.6822 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.6469, allocations: 482.2 kB / 0.6827 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002235/0.6471, allocations: 116.8 kB / 0.6828 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004921/0.6521, allocations: 1.83 MB / 0.6845 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.164e-05/0.6521, allocations: 46.48 kB / 0.6846 GB, free: 448 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=25): time 2.615e-06/0.6521, allocations: 0 / 0.6846 GB, free: 448 kB / 0.5137 GB Notification: Performance of matching and sorting (n=25): time 0.0009399/0.6531, allocations: 461.8 kB / 0.685 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.6531, allocations: 51.41 kB / 0.6851 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.6543, allocations: 0.9109 MB / 0.686 GB, free: 15 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.422e-05/0.6544, allocations: 33.7 kB / 0.686 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004165/0.6548, allocations: 479.1 kB / 0.6865 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.6549, allocations: 111.2 kB / 0.6866 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004091/0.6553, allocations: 302.4 kB / 0.6869 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002039/0.6555, allocations: 362.7 kB / 0.6872 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003876/0.6559, allocations: 230.4 kB / 0.6874 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/0.6569, allocations: 0.8883 MB / 0.6883 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001565/0.6585, allocations: 1.223 MB / 0.6895 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.205e-05/0.6585, allocations: 4 kB / 0.6895 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001872/0.6604, allocations: 1.122 MB / 0.6906 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.745e-05/0.6604, allocations: 23.92 kB / 0.6906 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.751e-05/0.6605, allocations: 24 kB / 0.6906 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.772e-05/0.6605, allocations: 35.94 kB / 0.6907 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007539/0.6613, allocations: 296.2 kB / 0.6909 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.55e-05/0.6613, allocations: 47.8 kB / 0.691 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00058/0.6619, allocations: 143 kB / 0.6911 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001737/0.6621, allocations: 132 kB / 0.6913 GB, free: 8.895 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.0005467/0.6626, allocations: 341.1 kB / 0.6916 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/0.6628, allocations: 87.38 kB / 0.6917 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001817/0.6646, allocations: 0.7784 MB / 0.6924 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.6646, allocations: 4 kB / 0.6924 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.6646, allocations: 0 / 0.6924 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.6646, allocations: 0 / 0.6924 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006286/0.6652, allocations: 425 kB / 0.6928 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.6652, allocations: 0 / 0.6928 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002951/0.6655, allocations: 107.9 kB / 0.6929 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.6655, allocations: 0 / 0.6929 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.358e-05/0.6656, allocations: 39.92 kB / 0.693 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.6656, allocations: 0 / 0.693 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.6656, allocations: 0 / 0.693 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006907/0.6663, allocations: 483 kB / 0.6934 GB, free: 6.594 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005889/0.6669, allocations: 249.2 kB / 0.6937 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.478e-05/0.667, allocations: 7.938 kB / 0.6937 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.6672, allocations: 19.92 kB / 0.6937 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.32e-05/0.6673, allocations: 43.95 kB / 0.6937 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001257/0.6674, allocations: 83.98 kB / 0.6938 GB, free: 6.188 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007302/0.6682, allocations: 0.5654 MB / 0.6944 GB, free: 5.625 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.6682, allocations: 0 / 0.6944 GB, free: 5.625 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009685/0.6691, allocations: 175.8 kB / 0.6945 GB, free: 5.453 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.0004395/0.6696, allocations: 231.2 kB / 0.6948 GB, free: 5.219 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001063/0.6706, allocations: 0.5831 MB / 0.6953 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/0.6706, allocations: 4 kB / 0.6953 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002335/0.6709, allocations: 136.1 kB / 0.6955 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006067/0.6715, allocations: 105 kB / 0.6956 GB, free: 4.398 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002008/0.6735, allocations: 1.287 MB / 0.6968 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004303/0.6739, allocations: 363.5 kB / 0.6972 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001452/0.6754, allocations: 0.5044 MB / 0.6977 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000398/0.6758, allocations: 143.3 kB / 0.6978 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of SimCode: time 8.72e-07/0.6758, allocations: 0 / 0.6978 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of Templates: time 0.01769/0.6935, allocations: 9.44 MB / 0.707 GB, free: 8.719 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 gbode -lv LOG_STATS > Chemical_Chemical.Examples.Definitions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.659815891995095] Failed to read output from testmodel.py, exit status != 0: 0.7025682120001875 0.717879205 0.084871284 Calling exit ...