Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001514/0.001514, allocations: 208 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1534/0.1534, allocations: 23.92 MB / 337.1 MB, free: 10.94 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical.Examples.Definitions") translateModel(Chemical.Examples.Definitions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_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: 6.969 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.3807, allocations: 59.88 MB / 0.5198 GB, free: 9.758 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:437:5-437: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 master/Interfaces.mo:437:5-437: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.07238/0.4531, allocations: 23.49 MB / 0.5428 GB, free: 15.85 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1721/0.6252, allocations: 122 MB / 0.6619 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000463/0.6256, allocations: 4 kB / 0.6619 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002267/0.6279, allocations: 0.5987 MB / 0.6625 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003526/0.6314, allocations: 1.951 MB / 0.6644 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001681/0.6331, allocations: 0.5244 MB / 0.6649 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003743/0.6369, allocations: 2.003 MB / 0.6669 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.637, allocations: 25.97 kB / 0.6669 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004998/0.6375, allocations: 382.8 kB / 0.6673 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007354/0.6382, allocations: 498.5 kB / 0.6677 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.842e-05/0.6383, allocations: 16 kB / 0.6678 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001741/0.64, allocations: 0.702 MB / 0.6684 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001755/0.6402, allocations: 159.3 kB / 0.6686 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002252/0.6404, allocations: 230.3 kB / 0.6688 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002153/0.6426, allocations: 1.658 MB / 0.6704 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.6426, allocations: 4 kB / 0.6704 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.184e-06/0.6426, allocations: 3.938 kB / 0.6704 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.6426, allocations: 4 kB / 0.6705 GB, free: 15.17 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.001589/0.6442, allocations: 1.017 MB / 0.6714 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.6442, allocations: 8.031 kB / 0.6715 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006934/0.6449, allocations: 288 kB / 0.6717 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006515/0.6455, allocations: 370 kB / 0.6721 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.401e-05/0.6456, allocations: 33.36 kB / 0.6721 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.791e-05/0.6457, allocations: 44.38 kB / 0.6722 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002949/0.6486, allocations: 2.629 MB / 0.6747 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.6486, allocations: 3.984 kB / 0.6747 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.855e-05/0.6487, allocations: 20 kB / 0.6747 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001057/0.6488, allocations: 85.27 kB / 0.6748 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004538/0.6533, allocations: 4.238 MB / 0.679 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005046/0.6584, allocations: 3.285 MB / 0.6822 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.6595, allocations: 479.2 kB / 0.6826 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002161/0.6597, allocations: 112.8 kB / 0.6827 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004973/0.6647, allocations: 1.83 MB / 0.6845 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.425e-05/0.6647, allocations: 46.5 kB / 0.6846 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=25): time 2.264e-06/0.6647, allocations: 0 / 0.6846 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of matching and sorting (n=25): time 0.0009966/0.6657, allocations: 461.8 kB / 0.685 GB, free: 48 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.673e-05/0.6658, allocations: 59.34 kB / 0.6851 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001173/0.667, allocations: 0.9148 MB / 0.686 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.543e-05/0.667, allocations: 33.64 kB / 0.686 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003668/0.6674, allocations: 479.1 kB / 0.6864 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.6675, allocations: 111.2 kB / 0.6866 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003817/0.6679, allocations: 298.5 kB / 0.6868 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001993/0.6681, allocations: 358.7 kB / 0.6872 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003679/0.6684, allocations: 230.5 kB / 0.6874 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001205/0.6696, allocations: 0.8922 MB / 0.6883 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001589/0.6712, allocations: 1.223 MB / 0.6895 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.235e-05/0.6712, allocations: 8 kB / 0.6895 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001812/0.673, allocations: 1.119 MB / 0.6906 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.241e-05/0.6731, allocations: 24.19 kB / 0.6906 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.902e-05/0.6731, allocations: 24 kB / 0.6906 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.747e-05/0.6732, allocations: 32 kB / 0.6906 GB, free: 9.562 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007531/0.6739, allocations: 295.6 kB / 0.6909 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.596e-05/0.674, allocations: 47.78 kB / 0.691 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005933/0.6746, allocations: 143 kB / 0.6911 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001602/0.6747, allocations: 128 kB / 0.6912 GB, free: 8.961 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.0004584/0.6752, allocations: 341.1 kB / 0.6916 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.6753, allocations: 87.38 kB / 0.6916 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001806/0.6771, allocations: 0.7784 MB / 0.6924 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.6771, allocations: 4 kB / 0.6924 GB, free: 7.738 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.6771, allocations: 7.984 kB / 0.6924 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.6771, allocations: 0 / 0.6924 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006679/0.6778, allocations: 421 kB / 0.6928 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.6778, allocations: 0 / 0.6928 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003079/0.6781, allocations: 107.9 kB / 0.6929 GB, free: 7.184 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.6781, allocations: 0 / 0.6929 GB, free: 7.184 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-05/0.6782, allocations: 39.91 kB / 0.6929 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.29e-05/0.6782, allocations: 7.984 kB / 0.693 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.6782, allocations: 0 / 0.693 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006673/0.6789, allocations: 482.9 kB / 0.6934 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000561/0.6794, allocations: 249.2 kB / 0.6937 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.88e-05/0.6795, allocations: 7.938 kB / 0.6937 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002328/0.6798, allocations: 8 kB / 0.6937 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.759e-05/0.6798, allocations: 43.95 kB / 0.6937 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/0.68, allocations: 83.98 kB / 0.6938 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006987/0.6806, allocations: 0.5692 MB / 0.6943 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.6806, allocations: 0 / 0.6943 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000935/0.6816, allocations: 179.8 kB / 0.6945 GB, free: 5.512 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.0005567/0.6821, allocations: 231.1 kB / 0.6947 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001092/0.6832, allocations: 0.5863 MB / 0.6953 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.6832, allocations: 0 / 0.6953 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002251/0.6835, allocations: 131.9 kB / 0.6954 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006041/0.6841, allocations: 98.23 kB / 0.6955 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002183/0.6862, allocations: 1.294 MB / 0.6968 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004225/0.6867, allocations: 363.5 kB / 0.6971 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001406/0.6881, allocations: 0.5083 MB / 0.6976 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003873/0.6885, allocations: 147.3 kB / 0.6978 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of SimCode: time 1.052e-06/0.6885, allocations: 0 / 0.6978 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of Templates: time 0.01717/0.7056, allocations: 9.44 MB / 0.707 GB, free: 8.773 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Examples.Definitions.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Examples.Definitions.pipe ; mkfifo Chemical_master_Chemical.Examples.Definitions.pipe ; head -c 1048576 < Chemical_master_Chemical.Examples.Definitions.pipe >> ../files/Chemical_master_Chemical.Examples.Definitions.sim & ./Chemical_master_Chemical.Examples.Definitions -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Chemical_master_Chemical.Examples.Definitions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.572794905005139] Failed to read output from testmodel.py, exit status != 0: 0.7141458190017147 0.728688315 0.08317437200000001 Calling exit ...