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.0006756/0.0006756, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000882/0.001558, 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.001065/0.001065, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001133/0.002198, 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 0.9344/0.9344, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08324/1.018, allocations: 53.66 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.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.08539/0.08539, allocations: 17.37 MB / 261.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01107/0.09646, allocations: 6.936 MB / 268.3 MB, free: 6.523 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.916e-06/2.916e-06, allocations: 3.984 kB / 269.5 MB, free: 5.238 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.353e-05/2.645e-05, allocations: 2.312 kB / 269.5 MB, free: 5.234 MB / 266.7 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.01081/0.01083, allocations: 3.132 MB / 272.7 MB, free: 2.078 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.234/0.2449, allocations: 134.7 MB / 407.4 MB, free: 8.32 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001765/0.245, allocations: 11.94 kB / 407.4 MB, free: 8.309 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001503/0.2465, allocations: 0.6851 MB / 408.1 MB, free: 7.625 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001966/0.2485, allocations: 2.107 MB / 410.2 MB, free: 5.508 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000998/0.2495, allocations: 0.5212 MB / 410.7 MB, free: 4.984 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002039/0.2516, allocations: 1.942 MB / 412.6 MB, free: 3.039 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.038e-05/0.2516, allocations: 39.97 kB / 412.7 MB, free: 3 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004104/0.252, allocations: 471 kB / 413.1 MB, free: 2.539 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003909/0.2524, allocations: 399.3 kB / 413.5 MB, free: 2.148 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.988e-05/0.2525, allocations: 16 kB / 413.5 MB, free: 2.133 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009679/0.2534, allocations: 0.7057 MB / 414.3 MB, free: 1.426 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.985e-05/0.2535, allocations: 143.3 kB / 414.4 MB, free: 1.285 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.2536, allocations: 139.5 kB / 414.5 MB, free: 1.148 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001151/0.2548, allocations: 1.368 MB / 415.9 MB, free: 15.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.431e-05/0.2548, allocations: 0 / 415.9 MB, free: 15.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2548, allocations: 4 kB / 415.9 MB, free: 15.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.562e-05/0.2548, allocations: 0 / 415.9 MB, free: 15.77 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.001018/0.2558, allocations: 1.212 MB / 417.1 MB, free: 14.51 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.788e-05/0.2559, allocations: 8.031 kB / 417.1 MB, free: 14.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005506/0.2564, allocations: 0.5322 MB / 417.7 MB, free: 13.97 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/0.2567, allocations: 333.3 kB / 418 MB, free: 13.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.2567, allocations: 37.36 kB / 418 MB, free: 13.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.79e-05/0.2568, allocations: 44.38 kB / 418.1 MB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006393/0.2574, allocations: 0.9528 MB / 419 MB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.2574, allocations: 4.188 kB / 419 MB, free: 12.53 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.2574, allocations: 20.56 kB / 419 MB, free: 12.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.6e-05/0.2575, allocations: 89.2 kB / 419.1 MB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007897/0.2583, allocations: 1.169 MB / 420.3 MB, free: 11.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001828/0.2601, allocations: 2.219 MB / 422.5 MB, free: 8.996 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005217/0.2606, allocations: 475.8 kB / 423 MB, free: 8.523 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.16e-05/0.2607, allocations: 60.83 kB / 423 MB, free: 8.461 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001823/0.2625, allocations: 1.661 MB / 424.7 MB, free: 6.789 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.2626, allocations: 38.56 kB / 424.7 MB, free: 6.742 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 1.353e-06/0.2626, allocations: 0 / 424.7 MB, free: 6.742 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.0002837/0.2628, allocations: 218.1 kB / 424.9 MB, free: 6.523 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.48e-05/0.2629, allocations: 55.41 kB / 425 MB, free: 6.457 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004172/0.2633, allocations: 0.7409 MB / 425.7 MB, free: 5.699 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/0.2633, allocations: 33.64 kB / 425.8 MB, free: 5.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.2635, allocations: 471.1 kB / 426.2 MB, free: 5.191 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.803e-05/0.2635, allocations: 103.2 kB / 426.3 MB, free: 5.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001799/0.2637, allocations: 274.3 kB / 426.6 MB, free: 4.816 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.525e-05/0.2638, allocations: 354.7 kB / 427 MB, free: 4.461 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.42e-05/0.2639, allocations: 94.56 kB / 427 MB, free: 4.371 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003736/0.2643, allocations: 0.7671 MB / 427.8 MB, free: 3.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006378/0.2649, allocations: 1.003 MB / 428.8 MB, free: 1.934 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.2649, allocations: 8 kB / 428.8 MB, free: 1.926 MB / 410.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.0006515/0.2656, allocations: 0.7279 MB / 429.5 MB, free: 1.191 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.2656, allocations: 16 kB / 429.6 MB, free: 1.176 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.2656, allocations: 24 kB / 429.6 MB, free: 1.152 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.2656, allocations: 32 kB / 429.6 MB, free: 1.121 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004655/0.2661, allocations: 324.2 kB / 429.9 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.333e-05/0.2661, allocations: 51.8 kB / 430 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002885/0.2664, allocations: 150.8 kB / 430.1 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.044e-05/0.2665, allocations: 108 kB / 430.2 MB, free: 0.5 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.0001597/0.2667, allocations: 200 kB / 430.4 MB, free: 300 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.286e-05/0.2667, allocations: 55.94 kB / 430.5 MB, free: 244 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1592/0.4259, allocations: 0.5612 MB / 431 MB, free: 19.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.4259, allocations: 2.688 kB / 431.1 MB, free: 19.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.4259, allocations: 0.6875 kB / 431.1 MB, free: 19.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.4259, allocations: 6.047 kB / 431.1 MB, free: 19.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004143/0.4263, allocations: 271.7 kB / 431.3 MB, free: 19.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.4263, allocations: 0.8125 kB / 431.3 MB, free: 19.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002686/0.4266, allocations: 117.6 kB / 431.4 MB, free: 19.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002693/0.4268, allocations: 220.1 kB / 431.7 MB, free: 19.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.4268, allocations: 2.094 kB / 431.7 MB, free: 19.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.59e-05/0.4269, allocations: 16.75 kB / 431.7 MB, free: 19.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.4269, allocations: 2.266 kB / 431.7 MB, free: 19.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.4269, allocations: 0.8438 kB / 431.7 MB, free: 19.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002716/0.4271, allocations: 284 kB / 432 MB, free: 19.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.089e-05/0.4272, allocations: 8.094 kB / 432 MB, free: 19.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.4273, allocations: 10.09 kB / 432 MB, free: 19.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.888e-05/0.4274, allocations: 25.17 kB / 432 MB, free: 19.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.368e-05/0.4274, allocations: 71.89 kB / 432.1 MB, free: 19.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002905/0.4277, allocations: 312.8 kB / 432.4 MB, free: 19.63 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4277, allocations: 0.8125 kB / 432.4 MB, free: 19.63 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006189/0.4283, allocations: 182.5 kB / 432.6 MB, free: 19.63 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.0003044/0.4287, allocations: 219.9 kB / 432.8 MB, free: 19.56 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004987/0.4292, allocations: 434.9 kB / 433.2 MB, free: 19.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.144e-05/0.4292, allocations: 20.23 kB / 433.2 MB, free: 19.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.4293, allocations: 92.12 kB / 433.3 MB, free: 19.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/0.4297, allocations: 185 kB / 433.5 MB, free: 19.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003174/0.4328, allocations: 1.119 MB / 434.6 MB, free: 18.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.433, allocations: 158.2 kB / 434.8 MB, free: 18.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008405/0.4338, allocations: 440.8 kB / 435.2 MB, free: 18.74 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004497/0.4343, allocations: 260.5 kB / 435.4 MB, free: 18.65 MB / 410.7 MB Notification: Performance of SimCode: time 8.61e-07/0.4343, allocations: 0.7812 kB / 435.4 MB, free: 18.65 MB / 410.7 MB Notification: Performance of Templates: time 0.01148/0.4457, allocations: 10.42 MB / 445.9 MB, free: 17.69 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > Chemical_Chemical.Examples.Definitions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.070033331401646]