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.001433/0.001433, allocations: 110.4 kB / 18.94 MB, free: 2.953 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.001777/0.001777, allocations: 213.6 kB / 22.25 MB, free: 5.133 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.493/1.493, allocations: 230.6 MB / 256 MB, free: 8.176 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.1606/0.1606, allocations: 23.89 MB / 336.3 MB, free: 11.16 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.002021/0.002021, allocations: 67.89 kB / 471.7 MB, free: 7.109 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.385, allocations: 59.87 MB / 0.5191 GB, free: 9.816 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.03949/0.4244, allocations: 23.81 MB / 0.5424 GB, free: 15.72 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1868/0.6113, allocations: 142.6 MB / 0.6816 GB, free: 3.176 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005245/0.6118, allocations: 7.938 kB / 0.6816 GB, free: 3.168 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002376/0.6142, allocations: 0.6649 MB / 0.6823 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003973/0.6181, allocations: 2.212 MB / 0.6844 GB, free: 284 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001797/0.6199, allocations: 0.5245 MB / 0.685 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003995/0.6239, allocations: 1.994 MB / 0.6869 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.624, allocations: 29.95 kB / 0.6869 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005594/0.6246, allocations: 378.9 kB / 0.6873 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008967/0.6255, allocations: 0.4907 MB / 0.6878 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.929e-05/0.6256, allocations: 20 kB / 0.6878 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003043/0.6286, allocations: 1.283 MB / 0.689 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001978/0.6288, allocations: 155.3 kB / 0.6892 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003462/0.6292, allocations: 317.8 kB / 0.6895 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003214/0.6324, allocations: 1.834 MB / 0.6913 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.6324, allocations: 0 / 0.6913 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6324, allocations: 0 / 0.6913 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.6324, allocations: 7.938 kB / 0.6913 GB, free: 9.234 MB / 0.5294 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.001652/0.634, allocations: 1.021 MB / 0.6923 GB, free: 8.18 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.6341, allocations: 12.03 kB / 0.6923 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007312/0.6348, allocations: 292 kB / 0.6926 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000614/0.6354, allocations: 362 kB / 0.6929 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.497e-05/0.6355, allocations: 45.36 kB / 0.693 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.977e-05/0.6355, allocations: 40.38 kB / 0.693 GB, free: 7.422 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00277/0.6383, allocations: 2.474 MB / 0.6954 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.6383, allocations: 4 kB / 0.6954 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.851e-05/0.6384, allocations: 16 kB / 0.6954 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00012/0.6385, allocations: 89.25 kB / 0.6955 GB, free: 4.82 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004487/0.643, allocations: 4.238 MB / 0.6997 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005012/0.648, allocations: 3.525 MB / 0.7031 GB, free: 12.97 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009797/0.649, allocations: 483.1 kB / 0.7036 GB, free: 12.49 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/0.6492, allocations: 116.8 kB / 0.7037 GB, free: 12.37 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004572/0.6538, allocations: 1.869 MB / 0.7055 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.263e-05/0.6538, allocations: 34.56 kB / 0.7055 GB, free: 10.43 MB / 0.545 GB Notification: Performance of pre-optimization done (n=25): time 1.933e-06/0.6538, allocations: 0 / 0.7055 GB, free: 10.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=25): time 0.0008947/0.6547, allocations: 460.9 kB / 0.706 GB, free: 9.977 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.865e-05/0.6548, allocations: 55.41 kB / 0.706 GB, free: 9.91 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.6559, allocations: 0.8761 MB / 0.7069 GB, free: 9.027 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.563e-05/0.656, allocations: 33.64 kB / 0.7069 GB, free: 8.988 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003676/0.6564, allocations: 483.1 kB / 0.7074 GB, free: 8.508 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.876e-05/0.6565, allocations: 103.2 kB / 0.7075 GB, free: 8.406 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003687/0.6568, allocations: 302.4 kB / 0.7078 GB, free: 8.105 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001965/0.657, allocations: 358.8 kB / 0.7081 GB, free: 7.746 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003802/0.6574, allocations: 230.5 kB / 0.7083 GB, free: 7.523 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001024/0.6584, allocations: 0.8883 MB / 0.7092 GB, free: 6.305 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001583/0.66, allocations: 1.223 MB / 0.7104 GB, free: 4.75 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-05/0.66, allocations: 12 kB / 0.7104 GB, free: 4.738 MB / 0.545 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001863/0.6619, allocations: 1.13 MB / 0.7115 GB, free: 3.602 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.042e-05/0.6619, allocations: 12 kB / 0.7115 GB, free: 3.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.639e-05/0.6619, allocations: 28.89 kB / 0.7115 GB, free: 3.562 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.079e-05/0.662, allocations: 32 kB / 0.7116 GB, free: 3.531 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007603/0.6628, allocations: 303.6 kB / 0.7119 GB, free: 3.234 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-05/0.6628, allocations: 47.8 kB / 0.7119 GB, free: 3.188 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005975/0.6634, allocations: 135 kB / 0.712 GB, free: 3.055 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001824/0.6636, allocations: 131.9 kB / 0.7122 GB, free: 2.926 MB / 0.545 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.0004954/0.6641, allocations: 345.6 kB / 0.7125 GB, free: 2.578 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.6642, allocations: 87.38 kB / 0.7126 GB, free: 2.492 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001752/0.666, allocations: 0.7821 MB / 0.7133 GB, free: 1.699 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.666, allocations: 0 / 0.7133 GB, free: 1.699 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.666, allocations: 0 / 0.7133 GB, free: 1.699 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/0.666, allocations: 3.984 kB / 0.7133 GB, free: 1.695 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007055/0.6667, allocations: 480.3 kB / 0.7138 GB, free: 1.184 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/0.6667, allocations: 3.938 kB / 0.7138 GB, free: 1.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002852/0.667, allocations: 107.9 kB / 0.7139 GB, free: 1.074 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.667, allocations: 3.984 kB / 0.7139 GB, free: 1.07 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.952e-05/0.667, allocations: 35.98 kB / 0.714 GB, free: 1.035 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.667, allocations: 0 / 0.714 GB, free: 1.035 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.667, allocations: 4 kB / 0.714 GB, free: 1.031 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006823/0.6677, allocations: 487.1 kB / 0.7144 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005652/0.6683, allocations: 253.1 kB / 0.7147 GB, free: 288 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.05e-05/0.6684, allocations: 0 / 0.7147 GB, free: 288 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.6686, allocations: 12 kB / 0.7147 GB, free: 276 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.534e-05/0.6687, allocations: 43.95 kB / 0.7147 GB, free: 232 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/0.6688, allocations: 87.98 kB / 0.7148 GB, free: 144 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007497/0.6695, allocations: 0.5731 MB / 0.7154 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6695, allocations: 0 / 0.7154 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009696/0.6705, allocations: 179.8 kB / 0.7155 GB, free: 15.39 MB / 0.5606 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.0004646/0.671, allocations: 231.1 kB / 0.7158 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001109/0.6721, allocations: 0.5755 MB / 0.7163 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.6721, allocations: 0 / 0.7163 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002321/0.6723, allocations: 139.9 kB / 0.7164 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006143/0.6729, allocations: 105.8 kB / 0.7165 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002206/0.6751, allocations: 1.274 MB / 0.7178 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007068/0.6758, allocations: 0.9682 MB / 0.7187 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001412/0.6773, allocations: 0.5044 MB / 0.7192 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003877/0.6776, allocations: 147.3 kB / 0.7194 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of SimCode: time 9.82e-07/0.6776, allocations: 0 / 0.7194 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.01766/0.6953, allocations: 9.221 MB / 0.7284 GB, free: 2.188 MB / 0.5606 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.953437900170684] Failed to read output from testmodel.py, exit status != 0: 0.7045403677038848 0.996282831 0.360922212 Calling exit ...