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.001817/0.001817, allocations: 92.42 kB / 19.7 MB, free: 2.137 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.002435/0.002435, allocations: 211.9 kB / 23 MB, free: 4.953 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.505/1.505, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.1414/0.1414, allocations: 23.88 MB / 337.1 MB, free: 10.96 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.002952/0.002952, allocations: 63.89 kB / 472.4 MB, free: 7.008 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4073/0.4102, allocations: 59.87 MB / 0.5198 GB, free: 9.84 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.0713/0.4815, allocations: 23.53 MB / 0.5427 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1881/0.6697, allocations: 122.1 MB / 0.662 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005351/0.6702, allocations: 11.94 kB / 0.662 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00252/0.6727, allocations: 0.6492 MB / 0.6626 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003646/0.6764, allocations: 1.916 MB / 0.6645 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00175/0.6781, allocations: 0.5283 MB / 0.665 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004052/0.6822, allocations: 2.002 MB / 0.667 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.6823, allocations: 37.94 kB / 0.667 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005634/0.6829, allocations: 378.8 kB / 0.6674 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008614/0.6837, allocations: 498.6 kB / 0.6678 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.812e-05/0.6838, allocations: 16 kB / 0.6678 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002016/0.6858, allocations: 0.7019 MB / 0.6685 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002505/0.686, allocations: 159.3 kB / 0.6687 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003267/0.6864, allocations: 226.3 kB / 0.6689 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003962/0.6903, allocations: 1.662 MB / 0.6705 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.6903, allocations: 0 / 0.6705 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.863e-06/0.6903, allocations: 0 / 0.6705 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.6903, allocations: 0 / 0.6705 GB, free: 15.04 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.001761/0.6921, allocations: 1.021 MB / 0.6715 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.6922, allocations: 12.02 kB / 0.6715 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008176/0.693, allocations: 288 kB / 0.6718 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007009/0.6937, allocations: 370 kB / 0.6722 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.504e-05/0.6937, allocations: 33.31 kB / 0.6722 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.397e-05/0.6938, allocations: 44.36 kB / 0.6722 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00288/0.6967, allocations: 2.621 MB / 0.6748 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.6967, allocations: 3.938 kB / 0.6748 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.647e-05/0.6967, allocations: 27.97 kB / 0.6748 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001076/0.6968, allocations: 85.27 kB / 0.6749 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004407/0.7012, allocations: 4.238 MB / 0.679 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004943/0.7062, allocations: 3.285 MB / 0.6822 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.7072, allocations: 481.8 kB / 0.6827 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/0.7074, allocations: 112.8 kB / 0.6828 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004923/0.7123, allocations: 1.834 MB / 0.6846 GB, free: 428 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.233e-05/0.7124, allocations: 42.5 kB / 0.6846 GB, free: 376 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=25): time 2.424e-06/0.7124, allocations: 0 / 0.6846 GB, free: 376 kB / 0.5137 GB Notification: Performance of matching and sorting (n=25): time 0.0009471/0.7133, allocations: 461.8 kB / 0.6851 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.7134, allocations: 55.41 kB / 0.6851 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/0.7145, allocations: 0.9109 MB / 0.686 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.697e-05/0.7146, allocations: 29.7 kB / 0.6861 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003737/0.715, allocations: 479.1 kB / 0.6865 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.7151, allocations: 115.1 kB / 0.6866 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003722/0.7155, allocations: 306.4 kB / 0.6869 GB, free: 14 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001927/0.7156, allocations: 354.8 kB / 0.6873 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003655/0.716, allocations: 226.5 kB / 0.6875 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/0.717, allocations: 0.896 MB / 0.6883 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001651/0.7187, allocations: 1.215 MB / 0.6895 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.33e-05/0.7187, allocations: 8 kB / 0.6895 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001919/0.7206, allocations: 1.131 MB / 0.6906 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.414e-05/0.7207, allocations: 19.88 kB / 0.6907 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.828e-05/0.7207, allocations: 24 kB / 0.6907 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.937e-05/0.7207, allocations: 32 kB / 0.6907 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007965/0.7215, allocations: 299.5 kB / 0.691 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-05/0.7216, allocations: 43.8 kB / 0.691 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006495/0.7222, allocations: 143 kB / 0.6912 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001688/0.7224, allocations: 128 kB / 0.6913 GB, free: 8.828 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.000514/0.7229, allocations: 349.3 kB / 0.6916 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.7231, allocations: 87.38 kB / 0.6917 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001758/0.7248, allocations: 0.7784 MB / 0.6925 GB, free: 7.602 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.7248, allocations: 0 / 0.6925 GB, free: 7.602 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.7248, allocations: 0 / 0.6925 GB, free: 7.602 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.7248, allocations: 3.984 kB / 0.6925 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006341/0.7255, allocations: 417 kB / 0.6929 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.7255, allocations: 0 / 0.6929 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003048/0.7258, allocations: 111.9 kB / 0.693 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.7258, allocations: 4 kB / 0.693 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.353e-05/0.7258, allocations: 35.92 kB / 0.693 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.7259, allocations: 0 / 0.693 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.7259, allocations: 4 kB / 0.693 GB, free: 7.008 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007061/0.7266, allocations: 483 kB / 0.6935 GB, free: 6.52 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006056/0.7272, allocations: 253.2 kB / 0.6937 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.886e-05/0.7273, allocations: 7.938 kB / 0.6937 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002506/0.7275, allocations: 12 kB / 0.6937 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.209e-05/0.7276, allocations: 43.89 kB / 0.6938 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/0.7277, allocations: 83.98 kB / 0.6939 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007129/0.7284, allocations: 0.5693 MB / 0.6944 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.7284, allocations: 0 / 0.6944 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001013/0.7294, allocations: 179.8 kB / 0.6946 GB, free: 5.375 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.0004694/0.7299, allocations: 227.2 kB / 0.6948 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001062/0.731, allocations: 0.5872 MB / 0.6954 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.731, allocations: 3.938 kB / 0.6954 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002385/0.7312, allocations: 135.8 kB / 0.6955 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006162/0.7318, allocations: 97.17 kB / 0.6956 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002213/0.734, allocations: 1.355 MB / 0.6969 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004332/0.7345, allocations: 363.5 kB / 0.6973 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005744/0.7351, allocations: 199.2 kB / 0.6975 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of SimCode: time 8.32e-07/0.7351, allocations: 0 / 0.6975 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of Templates: time 0.01746/0.7525, allocations: 10.25 MB / 0.7075 GB, free: 8.098 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: 9.036653248011135] Failed to read output from testmodel.py, exit status != 0: 0.7637891269987449 0.778847976 0.08505493900000001 Calling exit ...