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.001406/0.001406, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.001653/0.001653, allocations: 218.8 kB / 22.25 MB, free: 5.102 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.478/1.478, allocations: 230.6 MB / 256 MB, free: 7.805 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.1479/0.1479, allocations: 23.92 MB / 336.3 MB, free: 11.02 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.002498/0.002498, allocations: 67.89 kB / 471.7 MB, free: 6.949 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3548, allocations: 59.88 MB / 0.5191 GB, free: 9.781 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.07112/0.4259, allocations: 23.54 MB / 0.5421 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1833/0.6092, allocations: 122 MB / 0.6612 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006169/0.6098, allocations: 7.938 kB / 0.6612 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002676/0.6125, allocations: 0.6026 MB / 0.6618 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004101/0.6166, allocations: 1.944 MB / 0.6637 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001952/0.6185, allocations: 0.5205 MB / 0.6642 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004265/0.6228, allocations: 2.01 MB / 0.6662 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.6229, allocations: 21.97 kB / 0.6662 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005787/0.6235, allocations: 390.8 kB / 0.6666 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009194/0.6244, allocations: 494.5 kB / 0.6671 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.598e-05/0.6245, allocations: 20 kB / 0.6671 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002091/0.6266, allocations: 0.7019 MB / 0.6678 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002063/0.6268, allocations: 163.3 kB / 0.6679 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002856/0.6271, allocations: 230.4 kB / 0.6681 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002615/0.6297, allocations: 1.651 MB / 0.6698 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.6297, allocations: 0 / 0.6698 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.184e-06/0.6297, allocations: 0 / 0.6698 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.6297, allocations: 3.984 kB / 0.6698 GB, free: 15.06 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.001756/0.6315, allocations: 1.017 MB / 0.6708 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.6315, allocations: 8.031 kB / 0.6708 GB, free: 14 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007465/0.6322, allocations: 300 kB / 0.6711 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006401/0.6329, allocations: 362 kB / 0.6714 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.758e-05/0.6329, allocations: 41.3 kB / 0.6714 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.331e-05/0.633, allocations: 40.38 kB / 0.6715 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003018/0.636, allocations: 2.629 MB / 0.674 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.636, allocations: 3.938 kB / 0.674 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.23e-05/0.6361, allocations: 16 kB / 0.6741 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001282/0.6362, allocations: 89.27 kB / 0.6741 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004809/0.641, allocations: 4.238 MB / 0.6783 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00499/0.646, allocations: 3.292 MB / 0.6815 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.647, allocations: 474.1 kB / 0.682 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002238/0.6472, allocations: 116.8 kB / 0.6821 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004879/0.6521, allocations: 1.842 MB / 0.6839 GB, free: 436 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.645e-05/0.6522, allocations: 38.5 kB / 0.6839 GB, free: 388 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=25): time 1.823e-06/0.6522, allocations: 0 / 0.6839 GB, free: 388 kB / 0.5137 GB Notification: Performance of matching and sorting (n=25): time 0.000943/0.6531, allocations: 465.7 kB / 0.6843 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.936e-05/0.6532, allocations: 55.41 kB / 0.6844 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/0.6544, allocations: 0.9109 MB / 0.6853 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.991e-05/0.6545, allocations: 33.7 kB / 0.6853 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003768/0.6548, allocations: 479.1 kB / 0.6858 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.655, allocations: 107.2 kB / 0.6859 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003984/0.6554, allocations: 298.4 kB / 0.6862 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001897/0.6555, allocations: 358.8 kB / 0.6865 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003898/0.6559, allocations: 230.5 kB / 0.6867 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/0.6571, allocations: 0.896 MB / 0.6876 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001708/0.6588, allocations: 1.215 MB / 0.6888 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.194e-05/0.6588, allocations: 8 kB / 0.6888 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001885/0.6607, allocations: 1.126 MB / 0.6899 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.029e-05/0.6607, allocations: 19.94 kB / 0.6899 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.736e-05/0.6607, allocations: 24 kB / 0.6899 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.751e-05/0.6608, allocations: 28 kB / 0.69 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000827/0.6616, allocations: 300.1 kB / 0.6902 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.51e-05/0.6617, allocations: 43.86 kB / 0.6903 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006092/0.6623, allocations: 143 kB / 0.6904 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001763/0.6624, allocations: 128 kB / 0.6905 GB, free: 8.848 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.0005188/0.663, allocations: 341.1 kB / 0.6909 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001509/0.6631, allocations: 87.38 kB / 0.691 GB, free: 8.418 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001856/0.665, allocations: 0.7861 MB / 0.6917 GB, free: 7.621 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.665, allocations: 0 / 0.6917 GB, free: 7.621 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.665, allocations: 4 kB / 0.6917 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.706e-06/0.665, allocations: 0 / 0.6917 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006276/0.6656, allocations: 428.9 kB / 0.6921 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.6656, allocations: 4 kB / 0.6921 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00029/0.6659, allocations: 95.95 kB / 0.6922 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.6659, allocations: 4 kB / 0.6922 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-05/0.666, allocations: 39.86 kB / 0.6923 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.666, allocations: 4 kB / 0.6923 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.666, allocations: 3.938 kB / 0.6923 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007071/0.6667, allocations: 482.9 kB / 0.6927 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005837/0.6673, allocations: 245.2 kB / 0.693 GB, free: 6.281 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.613e-05/0.6674, allocations: 15.92 kB / 0.693 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000245/0.6676, allocations: 8 kB / 0.693 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.224e-05/0.6677, allocations: 47.95 kB / 0.693 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/0.6678, allocations: 79.98 kB / 0.6931 GB, free: 6.133 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007238/0.6685, allocations: 0.5693 MB / 0.6937 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.6685, allocations: 0 / 0.6937 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009444/0.6695, allocations: 179.8 kB / 0.6938 GB, free: 5.391 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.0004695/0.6699, allocations: 231.2 kB / 0.6941 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001015/0.671, allocations: 0.5793 MB / 0.6946 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.671, allocations: 0 / 0.6946 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002374/0.6712, allocations: 136.1 kB / 0.6948 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006219/0.6718, allocations: 95.23 kB / 0.6949 GB, free: 4.352 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002073/0.6739, allocations: 1.287 MB / 0.6961 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004316/0.6743, allocations: 367.5 kB / 0.6965 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001449/0.6758, allocations: 0.5044 MB / 0.697 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003963/0.6762, allocations: 143.3 kB / 0.6971 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of SimCode: time 4.21e-07/0.6762, allocations: 0 / 0.6971 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of Templates: time 0.01775/0.6939, allocations: 9.444 MB / 0.7063 GB, free: 8.664 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 -lv LOG_STATS > Chemical_master_Chemical.Examples.Definitions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.627045647241175] Failed to read output from testmodel.py, exit status != 0: 0.7042284840717912 0.71853245 0.08560104699999994 Calling exit ...