Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.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.001388/0.001388, allocations: 81.38 kB / 19.43 MB, free: 1.844 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.001488/0.001488, allocations: 165.1 kB / 22.75 MB, free: 4.395 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.443/1.443, allocations: 177.1 MB / 203.1 MB, free: 8.117 MB / 190.1 MB " [Timeout remaining time 178] 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.1321/0.1321, allocations: 17.37 MB / 276.9 MB, free: 2.582 MB / 254.1 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.Obsolete.Examples.GasSolubility_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.GasSolubility_blood") translateModel(Chemical.Obsolete.Examples.GasSolubility_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.GasSolubility_blood") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 352.7 MB, free: 6.691 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.213e-05/2.34e-05, allocations: 2.312 kB / 352.7 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.008482/0.008505, allocations: 6.238 MB / 358.9 MB, free: 432 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.1399/0.1484, allocations: 19.18 MB / 378.1 MB, free: 58.51 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001069/0.1495, allocations: 22.41 kB / 378.1 MB, free: 58.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00127/0.1507, allocations: 417.1 kB / 378.5 MB, free: 58.28 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004615/0.1553, allocations: 1.684 MB / 380.2 MB, free: 57.26 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007896/0.1632, allocations: 2.929 MB / 383.1 MB, free: 55.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002125/0.1654, allocations: 1.899 MB / 385 MB, free: 53.86 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007754/0.1661, allocations: 0.7906 MB / 385.8 MB, free: 53.29 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001063/0.1672, allocations: 1.207 MB / 387 MB, free: 52.62 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009166/0.1681, allocations: 0.7576 MB / 387.8 MB, free: 52.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001955/0.1683, allocations: 156.1 kB / 387.9 MB, free: 52.22 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005581/0.1739, allocations: 2.218 MB / 390.2 MB, free: 50 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002601/0.1742, allocations: 370.8 kB / 390.5 MB, free: 49.64 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006226/0.1748, allocations: 0.5691 MB / 391.1 MB, free: 49.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007378/0.1822, allocations: 4.522 MB / 395.6 MB, free: 44.53 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.1822, allocations: 0 / 395.6 MB, free: 44.53 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1822, allocations: 4 kB / 395.6 MB, free: 44.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.845e-05/0.1822, allocations: 0 / 395.6 MB, free: 44.52 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.003687/0.1859, allocations: 2.038 MB / 397.7 MB, free: 42.45 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.1859, allocations: 15.98 kB / 397.7 MB, free: 42.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002024/0.188, allocations: 0.6329 MB / 398.3 MB, free: 41.8 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.1891, allocations: 0.7178 MB / 399 MB, free: 41.05 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.348e-05/0.1891, allocations: 94.84 kB / 399.1 MB, free: 40.96 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001895/0.1893, allocations: 128.3 kB / 399.2 MB, free: 40.83 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002335/0.1916, allocations: 1.78 MB / 401 MB, free: 39.01 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.799e-05/0.1917, allocations: 4.188 kB / 401 MB, free: 39.01 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001282/0.1918, allocations: 52.56 kB / 401.1 MB, free: 38.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.925e-05/0.1918, allocations: 35.94 kB / 401.1 MB, free: 38.92 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002889/0.1947, allocations: 2.493 MB / 403.6 MB, free: 36.42 MB / 334.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006382/0.2011, allocations: 4.209 MB / 407.8 MB, free: 32.15 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002944/0.204, allocations: 1.826 MB / 409.6 MB, free: 30.33 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006673/0.2047, allocations: 0.4947 MB / 410.1 MB, free: 29.83 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005397/0.2101, allocations: 2.78 MB / 412.9 MB, free: 27.04 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.2101, allocations: 39.22 kB / 412.9 MB, free: 26.99 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.695e-06/0.2101, allocations: 0 / 412.9 MB, free: 26.99 MB / 334.1 MB Notification: Performance of matching and sorting (n=89): time 0.01461/0.2247, allocations: 3.257 MB / 416.2 MB, free: 23.7 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.2248, allocations: 68.39 kB / 416.3 MB, free: 23.61 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/0.226, allocations: 1.29 MB / 417.6 MB, free: 22.31 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.763e-05/0.226, allocations: 41.7 kB / 417.6 MB, free: 22.26 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002727/0.2263, allocations: 0.7061 MB / 418.3 MB, free: 21.55 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/0.2265, allocations: 329.2 kB / 418.6 MB, free: 21.22 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003403/0.2268, allocations: 291.4 kB / 418.9 MB, free: 20.93 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 7.026e-05/0.2269, allocations: 349.9 kB / 419.3 MB, free: 20.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006834/0.2276, allocations: 0.5232 MB / 419.8 MB, free: 20.06 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009213/0.2285, allocations: 1.008 MB / 420.8 MB, free: 18.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001499/0.23, allocations: 1.448 MB / 422.2 MB, free: 17.18 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-06/0.23, allocations: 4 kB / 422.2 MB, free: 17.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.004308/0.2343, allocations: 1.998 MB / 424.2 MB, free: 15.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.2343, allocations: 15.94 kB / 424.3 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.341e-05/0.2344, allocations: 16 kB / 424.3 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00201/0.2364, allocations: 247.5 kB / 424.5 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/0.2375, allocations: 351.5 kB / 424.9 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004661/0.2421, allocations: 3.593 MB / 428.4 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/0.2432, allocations: 48 kB / 428.5 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/0.2433, allocations: 75.98 kB / 428.6 MB, free: 10.64 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 initialization (179): * Single equations (assignments): 177 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0004216/0.2437, allocations: 301.2 kB / 428.9 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002425/0.2439, allocations: 127.3 kB / 429 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003748/0.2477, allocations: 1.244 MB / 430.2 MB, free: 8.957 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.2477, allocations: 12 kB / 430.2 MB, free: 8.945 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.2477, allocations: 4 kB / 430.2 MB, free: 8.941 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.707e-06/0.2477, allocations: 3.984 kB / 430.2 MB, free: 8.938 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.2488, allocations: 0.8198 MB / 431.1 MB, free: 8.074 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.2488, allocations: 4 kB / 431.1 MB, free: 8.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006747/0.2495, allocations: 175.7 kB / 431.2 MB, free: 7.898 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001988/0.2515, allocations: 230.5 kB / 431.5 MB, free: 7.668 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.207e-05/0.2515, allocations: 31.98 kB / 431.5 MB, free: 7.637 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004213/0.2557, allocations: 3.492 MB / 435 MB, free: 3.949 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.2557, allocations: 8.766 kB / 435 MB, free: 3.941 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003908/0.2596, allocations: 1.615 MB / 436.6 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001891/0.2598, allocations: 99.34 kB / 436.7 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/0.26, allocations: 16 kB / 436.7 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005591/0.2605, allocations: 20 kB / 436.7 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/0.2607, allocations: 88.61 kB / 436.8 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.058e-05/0.2608, allocations: 39.98 kB / 436.9 MB, free: 2.035 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007607/0.2615, allocations: 0.8856 MB / 437.8 MB, free: 1.152 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2615, allocations: 0 / 437.8 MB, free: 1.152 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002131/0.2637, allocations: 0.8452 MB / 438.6 MB, free: 312 kB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (blood_plasma.temperature,CO2_unbound_plasma.logn,O2_unbound_plasma.logn,water.logn,others.logn) * 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 (93): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001884/0.2655, allocations: 1.072 MB / 439.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002541/0.2681, allocations: 1.357 MB / 441 MB, free: 13.87 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.2681, allocations: 0 / 441 MB, free: 13.87 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001108/0.2692, allocations: 0.6435 MB / 441.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.2704, allocations: 261.7 kB / 441.9 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00351/0.2739, allocations: 2.067 MB / 444 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005402/0.2744, allocations: 499.9 kB / 444.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0008681/0.2753, allocations: 258.1 kB / 444.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003826/0.2757, allocations: 168.1 kB / 444.9 MB, free: 9.953 MB / 350.1 MB Notification: Performance of SimCode: time 9.32e-07/0.2757, allocations: 0 / 444.9 MB, free: 9.953 MB / 350.1 MB Notification: Performance of Templates: time 0.04886/0.3245, allocations: 28.69 MB / 473.6 MB, free: 13.53 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.sim & ./Chemical_Chemical.Obsolete.Examples.GasSolubility_blood -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.722195666283369]