Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.0009237/0.0009237, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001553/0.001553, allocations: 173 kB / 23.03 MB, free: 1.543 MB / 18.57 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.9841/0.9841, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.1019/0.1019, allocations: 17.47 MB / 277.4 MB, free: 11.55 MB / 266.7 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.Obsolete.Examples.GasSolubility_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood") translateModel(Chemical.Obsolete.Examples.GasSolubility_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 3.938 kB / 353.5 MB, free: 9.859 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.936e-05/4.204e-05, allocations: 10.25 kB / 353.6 MB, free: 9.848 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.008905/0.008947, allocations: 6.906 MB / 360.5 MB, free: 2.91 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02659/0.03553, allocations: 19.7 MB / 380.2 MB, free: 15.14 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00147/0.037, allocations: 19.81 kB / 380.2 MB, free: 15.12 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001497/0.0385, allocations: 380.9 kB / 380.5 MB, free: 14.74 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005511/0.04401, allocations: 1.691 MB / 382.2 MB, free: 13.04 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006176/0.05019, allocations: 2.551 MB / 384.8 MB, free: 10.47 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002323/0.05251, allocations: 1.88 MB / 386.7 MB, free: 8.586 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001262/0.05377, allocations: 0.8015 MB / 387.5 MB, free: 7.766 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001296/0.05507, allocations: 1.205 MB / 388.7 MB, free: 6.559 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009726/0.05604, allocations: 0.7795 MB / 389.5 MB, free: 5.777 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003125/0.05635, allocations: 152 kB / 389.6 MB, free: 5.629 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004542/0.06089, allocations: 1.984 MB / 391.6 MB, free: 3.641 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003622/0.06126, allocations: 378.8 kB / 392 MB, free: 3.27 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006173/0.06187, allocations: 0.573 MB / 392.5 MB, free: 2.695 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007638/0.06951, allocations: 3.63 MB / 396.2 MB, free: 15.05 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.06952, allocations: 0 / 396.2 MB, free: 15.05 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.06952, allocations: 0 / 396.2 MB, free: 15.05 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.157e-05/0.06954, allocations: 4 kB / 396.2 MB, free: 15.04 MB / 330.7 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.002442/0.07198, allocations: 2.095 MB / 398.3 MB, free: 12.9 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.07203, allocations: 16.03 kB / 398.3 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/0.07325, allocations: 0.6457 MB / 398.9 MB, free: 12.24 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000909/0.07416, allocations: 0.7101 MB / 399.6 MB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.508e-05/0.07421, allocations: 90.84 kB / 399.7 MB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/0.07435, allocations: 132.3 kB / 399.8 MB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/0.07588, allocations: 1.214 MB / 401.1 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.0759, allocations: 192 / 401.1 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.048e-05/0.07598, allocations: 48.38 kB / 401.1 MB, free: 9.973 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.142e-05/0.07601, allocations: 39.94 kB / 401.1 MB, free: 9.934 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001632/0.07764, allocations: 1.373 MB / 402.5 MB, free: 8.551 MB / 330.7 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.004756/0.08239, allocations: 3.79 MB / 406.3 MB, free: 4.684 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002298/0.08469, allocations: 2.086 MB / 408.4 MB, free: 2.586 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004239/0.08512, allocations: 361.4 kB / 408.7 MB, free: 2.23 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.141/0.2261, allocations: 2.706 MB / 411.5 MB, free: 58.62 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.2262, allocations: 41.09 kB / 411.5 MB, free: 58.58 MB / 330.7 MB Notification: Performance of pre-optimization done (n=72): time 3.296e-06/0.2262, allocations: 0 / 411.5 MB, free: 58.58 MB / 330.7 MB Notification: Performance of matching and sorting (n=89): time 0.008001/0.2342, allocations: 2.902 MB / 414.4 MB, free: 58.26 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.2342, allocations: 65.34 kB / 414.5 MB, free: 58.2 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.2352, allocations: 0.9699 MB / 415.4 MB, free: 57.98 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.888e-05/0.2353, allocations: 41.33 kB / 415.5 MB, free: 57.95 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003718/0.2356, allocations: 0.7626 MB / 416.2 MB, free: 57.57 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002204/0.2359, allocations: 340.9 kB / 416.6 MB, free: 57.39 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003098/0.2362, allocations: 286 kB / 416.8 MB, free: 57.36 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.2363, allocations: 0.5281 MB / 417.4 MB, free: 56.88 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004288/0.2367, allocations: 242.6 kB / 417.6 MB, free: 56.88 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006291/0.2373, allocations: 0.9184 MB / 418.5 MB, free: 56.02 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/0.2385, allocations: 1.252 MB / 419.8 MB, free: 55.18 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-05/0.2385, allocations: 8.312 kB / 419.8 MB, free: 55.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.002609/0.2411, allocations: 1.406 MB / 421.2 MB, free: 55.03 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.2411, allocations: 16.62 kB / 421.2 MB, free: 55.03 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.474e-05/0.2411, allocations: 19.5 kB / 421.2 MB, free: 55.03 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001473/0.2426, allocations: 351.8 kB / 421.6 MB, free: 55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007003/0.2433, allocations: 350.8 kB / 421.9 MB, free: 55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002863/0.2462, allocations: 4.37 MB / 426.3 MB, free: 50.99 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007376/0.2469, allocations: 52.2 kB / 426.3 MB, free: 50.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.332e-05/0.247, allocations: 79.14 kB / 426.4 MB, free: 50.95 MB / 330.7 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.0003369/0.2473, allocations: 249.8 kB / 426.7 MB, free: 50.75 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001923/0.2475, allocations: 131.2 kB / 426.8 MB, free: 50.68 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001886/0.2494, allocations: 1.062 MB / 427.8 MB, free: 50.35 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.2494, allocations: 10.75 kB / 427.9 MB, free: 50.35 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.2494, allocations: 0 / 427.9 MB, free: 50.35 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/0.2495, allocations: 7.828 kB / 427.9 MB, free: 50.35 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.2506, allocations: 0.8001 MB / 428.7 MB, free: 49.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.358e-06/0.2506, allocations: 3.875 kB / 428.7 MB, free: 49.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003696/0.251, allocations: 175.2 kB / 428.8 MB, free: 49.9 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001275/0.2522, allocations: 329.6 kB / 429.2 MB, free: 49.84 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.477e-05/0.2523, allocations: 30.14 kB / 429.2 MB, free: 49.83 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002417/0.2547, allocations: 4.28 MB / 433.5 MB, free: 45.77 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.2547, allocations: 6.438 kB / 433.5 MB, free: 45.76 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002022/0.2567, allocations: 1.322 MB / 434.8 MB, free: 45.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002049/0.2569, allocations: 98.03 kB / 434.9 MB, free: 45.17 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.037e-05/0.257, allocations: 23.31 kB / 434.9 MB, free: 45.15 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002396/0.2573, allocations: 18.84 kB / 434.9 MB, free: 45.14 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/0.2574, allocations: 83 kB / 435 MB, free: 45.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.898e-05/0.2575, allocations: 36.91 kB / 435.1 MB, free: 45.12 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004541/0.2579, allocations: 0.5943 MB / 435.6 MB, free: 44.92 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2579, allocations: 0 / 435.6 MB, free: 44.92 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001817/0.2597, allocations: 0.7846 MB / 436.4 MB, free: 44.8 MB / 330.7 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.001366/0.2611, allocations: 0.9476 MB / 437.4 MB, free: 44.2 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001771/0.2629, allocations: 1.169 MB / 438.5 MB, free: 43.17 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.2629, allocations: 0 / 438.5 MB, free: 43.17 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006279/0.2635, allocations: 0.7075 MB / 439.3 MB, free: 42.52 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009298/0.2644, allocations: 255.4 kB / 439.5 MB, free: 42.32 MB / 330.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003386/0.2678, allocations: 1.986 MB / 441.5 MB, free: 40.44 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001553/0.268, allocations: 204 kB / 441.7 MB, free: 40.27 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007212/0.2687, allocations: 247.7 kB / 441.9 MB, free: 40.06 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003063/0.269, allocations: 174.3 kB / 442.1 MB, free: 39.92 MB / 330.7 MB Notification: Performance of SimCode: time 2.264e-06/0.269, allocations: 0 / 442.1 MB, free: 39.92 MB / 330.7 MB Notification: Performance of Templates: time 0.03501/0.304, allocations: 31.08 MB / 473.2 MB, free: 9.227 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.sim & ./Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7585756070911884]