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.0006837/0.0006837, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008263/0.00151, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006887/0.0006887, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008576/0.001546, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.012/1.012, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09823/1.11, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.1003/0.1003, allocations: 17.45 MB / 261.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01033/0.1106, allocations: 6.963 MB / 268.4 MB, free: 6.406 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 269.7 MB, free: 5.121 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.548e-05/1.662e-05, allocations: 2.312 kB / 269.7 MB, free: 5.117 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/Interfaces.mo:448:5-448: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.1-master/Interfaces.mo:448:5-448: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.01019/0.01021, allocations: 3.236 MB / 272.9 MB, free: 1.863 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.2472/0.2574, allocations: 135.4 MB / 408.3 MB, free: 7.402 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000244/0.2577, allocations: 11.94 kB / 408.3 MB, free: 7.391 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001821/0.2595, allocations: 0.7314 MB / 409 MB, free: 6.66 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002436/0.2619, allocations: 2.55 MB / 411.6 MB, free: 4.098 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.2631, allocations: 0.629 MB / 412.2 MB, free: 3.465 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002189/0.2652, allocations: 2.016 MB / 414.2 MB, free: 1.445 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.449e-05/0.2653, allocations: 38.45 kB / 414.2 MB, free: 1.406 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004924/0.2658, allocations: 496.4 kB / 414.7 MB, free: 0.9219 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004513/0.2663, allocations: 435.2 kB / 415.2 MB, free: 0.4961 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.816e-05/0.2663, allocations: 20 kB / 415.2 MB, free: 488 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001603/0.2679, allocations: 0.8573 MB / 416 MB, free: 15.62 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.268, allocations: 167.4 kB / 416.2 MB, free: 15.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.2682, allocations: 167.4 kB / 416.4 MB, free: 15.29 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001329/0.2695, allocations: 1.433 MB / 417.8 MB, free: 13.85 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.734e-05/0.2695, allocations: 0 / 417.8 MB, free: 13.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2695, allocations: 4 kB / 417.8 MB, free: 13.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.947e-05/0.2695, allocations: 0 / 417.8 MB, free: 13.85 MB / 410.7 MB 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.00105/0.2706, allocations: 1.255 MB / 419.1 MB, free: 12.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.2706, allocations: 8.031 kB / 419.1 MB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005621/0.2712, allocations: 0.5556 MB / 419.6 MB, free: 11.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.2715, allocations: 325.4 kB / 419.9 MB, free: 11.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.018e-05/0.2715, allocations: 46.61 kB / 420 MB, free: 11.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.934e-05/0.2716, allocations: 40.38 kB / 420 MB, free: 11.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006546/0.2722, allocations: 0.953 MB / 421 MB, free: 10.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.2722, allocations: 4.188 kB / 421 MB, free: 10.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.609e-05/0.2723, allocations: 16.56 kB / 421 MB, free: 10.53 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.431e-05/0.2723, allocations: 89.2 kB / 421.1 MB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008091/0.2731, allocations: 1.169 MB / 422.3 MB, free: 9.273 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002151/0.2753, allocations: 2.224 MB / 424.5 MB, free: 7.012 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005622/0.2759, allocations: 483.6 kB / 424.9 MB, free: 6.531 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.599e-05/0.2759, allocations: 60.83 kB / 425 MB, free: 6.469 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001879/0.2778, allocations: 1.666 MB / 426.7 MB, free: 4.789 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.2778, allocations: 34.56 kB / 426.7 MB, free: 4.746 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 1.653e-06/0.2778, allocations: 3.938 kB / 426.7 MB, free: 4.742 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.0003131/0.2781, allocations: 247.4 kB / 427 MB, free: 4.496 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.2782, allocations: 55.41 kB / 427 MB, free: 4.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004222/0.2786, allocations: 0.7409 MB / 427.7 MB, free: 3.672 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.2786, allocations: 29.7 kB / 427.8 MB, free: 3.637 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.2788, allocations: 475 kB / 428.2 MB, free: 3.164 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.767e-05/0.2789, allocations: 107.2 kB / 428.3 MB, free: 3.059 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001912/0.279, allocations: 270.4 kB / 428.6 MB, free: 2.789 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.816e-05/0.2791, allocations: 358.7 kB / 429 MB, free: 2.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.777e-05/0.2792, allocations: 90.56 kB / 429 MB, free: 2.344 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003859/0.2796, allocations: 0.771 MB / 429.8 MB, free: 1.234 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.156/0.4357, allocations: 0.9929 MB / 430.8 MB, free: 18.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.421e-05/0.4357, allocations: 7.062 kB / 430.8 MB, free: 18.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001092/0.4368, allocations: 0.741 MB / 431.6 MB, free: 18.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.189e-05/0.4368, allocations: 14.88 kB / 431.6 MB, free: 18.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-05/0.4368, allocations: 25.42 kB / 431.6 MB, free: 18.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.376e-05/0.4369, allocations: 31.59 kB / 431.6 MB, free: 18.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006659/0.4375, allocations: 328.2 kB / 431.9 MB, free: 18.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.842e-05/0.4376, allocations: 46.7 kB / 432 MB, free: 18.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004297/0.438, allocations: 140.3 kB / 432.1 MB, free: 18.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001387/0.4382, allocations: 111.9 kB / 432.2 MB, free: 18.55 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 6 (O2_dissolving_props.definition.data.phase,O2_dissolving_props.definition.SelfClustering,H2O_formation_props.definition.data.phase,H2O_formation_props.definition.SelfClustering,H2O_vaporization_props.definition.data.phase,H2O_vaporization_props.definition.SelfClustering) * 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.0002434/0.4384, allocations: 199.3 kB / 432.4 MB, free: 18.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.4385, allocations: 74.73 kB / 432.5 MB, free: 18.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009884/0.4395, allocations: 0.57 MB / 433.1 MB, free: 18.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.4395, allocations: 3.531 kB / 433.1 MB, free: 18.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.4395, allocations: 6.422 kB / 433.1 MB, free: 18.31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.4395, allocations: 1.125 kB / 433.1 MB, free: 18.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003832/0.4399, allocations: 274.8 kB / 433.4 MB, free: 18.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.4399, allocations: 1.234 kB / 433.4 MB, free: 18.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002606/0.4402, allocations: 119.4 kB / 433.5 MB, free: 18.24 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003174/0.4405, allocations: 219.2 kB / 433.7 MB, free: 18.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.4405, allocations: 2.719 kB / 433.7 MB, free: 18.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/0.4405, allocations: 20.36 kB / 433.7 MB, free: 18.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.4405, allocations: 1.125 kB / 433.7 MB, free: 18.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.4405, allocations: 1.094 kB / 433.7 MB, free: 18.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003345/0.4409, allocations: 306 kB / 434 MB, free: 18.08 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.728e-05/0.4409, allocations: 7.344 kB / 434 MB, free: 18.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.441, allocations: 9.281 kB / 434 MB, free: 18.08 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.061e-05/0.4411, allocations: 27.69 kB / 434.1 MB, free: 18.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-05/0.4412, allocations: 70.2 kB / 434.1 MB, free: 18.08 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003312/0.4415, allocations: 310.7 kB / 434.4 MB, free: 18.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4415, allocations: 0 / 434.4 MB, free: 18.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007094/0.4422, allocations: 200.8 kB / 434.6 MB, free: 18.05 MB / 410.7 MB 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.0003583/0.4426, allocations: 221.5 kB / 434.8 MB, free: 17.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005802/0.4432, allocations: 436.4 kB / 435.3 MB, free: 17.97 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.333e-05/0.4432, allocations: 18.67 kB / 435.3 MB, free: 17.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.4433, allocations: 93.66 kB / 435.4 MB, free: 17.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004432/0.4438, allocations: 196.5 kB / 435.6 MB, free: 17.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003351/0.4471, allocations: 1.12 MB / 436.7 MB, free: 17.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001329/0.4473, allocations: 159.7 kB / 436.8 MB, free: 17.31 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009035/0.4482, allocations: 441.8 kB / 437.3 MB, free: 17.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004455/0.4486, allocations: 261.6 kB / 437.5 MB, free: 17.05 MB / 410.7 MB Notification: Performance of SimCode: time 1.292e-06/0.4486, allocations: 0.7188 kB / 437.5 MB, free: 17.05 MB / 410.7 MB Notification: Performance of Templates: time 0.01214/0.4607, allocations: 10.44 MB / 448 MB, free: 16.04 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > Chemical_master_Chemical.Examples.Definitions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.311309835873544]