Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.GasSolubility.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.001436/0.001436, allocations: 85.17 kB / 19.87 MB, free: 4.617 MB / 18.57 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.001373/0.001373, allocations: 169 kB / 23.27 MB, free: 1.223 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.9329/0.9329, allocations: 177.1 MB / 203.7 MB, free: 5.496 MB / 186.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.0986/0.0986, allocations: 17.39 MB / 277.6 MB, free: 11.48 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.Obsolete.Examples.GasSolubility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.GasSolubility") translateModel(Chemical.Obsolete.Examples.GasSolubility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.GasSolubility") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 353.9 MB, free: 9.707 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.703e-05/1.844e-05, allocations: 6.312 kB / 353.9 MB, free: 9.699 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.008887/0.008905, allocations: 10.02 MB / 363.9 MB, free: 15.64 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02108/0.02999, allocations: 30.12 MB / 394 MB, free: 1.398 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009477/0.03094, allocations: 35.69 kB / 394 MB, free: 1.363 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.03198, allocations: 0.5967 MB / 394.6 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00433/0.03631, allocations: 2.719 MB / 397.4 MB, free: 14.02 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006527/0.04284, allocations: 4.123 MB / 401.5 MB, free: 9.875 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002452/0.04529, allocations: 3.111 MB / 404.6 MB, free: 6.754 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001226/0.04651, allocations: 1.422 MB / 406 MB, free: 5.289 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001636/0.04815, allocations: 2.059 MB / 408.1 MB, free: 3.227 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001242/0.04939, allocations: 1.333 MB / 409.4 MB, free: 1.891 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003449/0.04974, allocations: 260 kB / 409.7 MB, free: 1.637 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1259/0.1757, allocations: 3.21 MB / 412.9 MB, free: 24.68 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000818/0.1765, allocations: 0.62 MB / 413.5 MB, free: 24.68 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001861/0.1783, allocations: 0.9776 MB / 414.5 MB, free: 24.68 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01228/0.1906, allocations: 5.96 MB / 420.4 MB, free: 24.36 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1906, allocations: 3.906 kB / 420.4 MB, free: 24.36 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1906, allocations: 1.125 kB / 420.4 MB, free: 24.36 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001028/0.1907, allocations: 0 / 420.4 MB, free: 24.36 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: 539 * Number of variables: 539 Notification: Performance of Generate backend data structure: time 0.005283/0.196, allocations: 3.296 MB / 423.7 MB, free: 22.83 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.196, allocations: 10.09 kB / 423.7 MB, free: 22.83 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001822/0.1979, allocations: 0.991 MB / 424.7 MB, free: 22.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/0.1991, allocations: 1.094 MB / 425.8 MB, free: 22.17 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.517e-05/0.1992, allocations: 157.7 kB / 426 MB, free: 22.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002173/0.1994, allocations: 219 kB / 426.2 MB, free: 22.16 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001723/0.2011, allocations: 1.855 MB / 428.1 MB, free: 21.91 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.053e-05/0.2011, allocations: 192 / 428.1 MB, free: 21.91 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001304/0.2013, allocations: 83.53 kB / 428.1 MB, free: 21.91 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.426e-05/0.2013, allocations: 55.22 kB / 428.2 MB, free: 21.91 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001755/0.203, allocations: 1.915 MB / 430.1 MB, free: 21.82 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.006479/0.2095, allocations: 6.11 MB / 436.2 MB, free: 20.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002939/0.2125, allocations: 3.428 MB / 439.6 MB, free: 19.8 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004833/0.2129, allocations: 0.5497 MB / 440.2 MB, free: 19.72 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005533/0.2185, allocations: 4.728 MB / 444.9 MB, free: 16.88 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.2185, allocations: 50.17 kB / 445 MB, free: 16.82 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002859/0.2188, allocations: 174.8 kB / 445.1 MB, free: 16.65 MB / 330.7 MB Notification: Performance of pre-optimization done (n=138): time 4.018e-06/0.2188, allocations: 0 / 445.1 MB, free: 16.65 MB / 330.7 MB Notification: Performance of matching and sorting (n=170): time 0.01093/0.2297, allocations: 4.764 MB / 449.9 MB, free: 11.93 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.2297, allocations: 69.41 kB / 450 MB, free: 11.84 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008667/0.2306, allocations: 1.285 MB / 451.3 MB, free: 10.72 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.492e-05/0.2307, allocations: 53.7 kB / 451.3 MB, free: 10.66 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003136/0.231, allocations: 1.145 MB / 452.5 MB, free: 9.574 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002382/0.2312, allocations: 0.6169 MB / 453.1 MB, free: 8.992 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003397/0.2316, allocations: 495.7 kB / 453.6 MB, free: 8.551 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.551e-05/0.2316, allocations: 480.7 kB / 454 MB, free: 8.078 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00033/0.2319, allocations: 336.7 kB / 454.4 MB, free: 7.746 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005915/0.2325, allocations: 1.47 MB / 455.8 MB, free: 5.852 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/0.2337, allocations: 2.014 MB / 457.8 MB, free: 3.5 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/0.2337, allocations: 8 kB / 457.8 MB, free: 3.492 MB / 330.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003049/0.2367, allocations: 2.271 MB / 460.1 MB, free: 1.375 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.2367, allocations: 16 kB / 460.1 MB, free: 1.359 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.187e-05/0.2368, allocations: 28 kB / 460.2 MB, free: 1.332 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002303/0.2391, allocations: 0.6655 MB / 460.8 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009245/0.24, allocations: 0.5948 MB / 461.4 MB, free: 100 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005628/0.2456, allocations: 8.62 MB / 470 MB, free: 7.117 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/0.2467, allocations: 84 kB / 470.1 MB, free: 7.035 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/0.2469, allocations: 116 kB / 470.2 MB, free: 6.922 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * 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 (305): * Single equations (assignments): 301 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0005254/0.2474, allocations: 317.6 kB / 470.5 MB, free: 6.641 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002906/0.2477, allocations: 233.8 kB / 470.8 MB, free: 6.414 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003191/0.2509, allocations: 1.881 MB / 472.7 MB, free: 4.527 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.2509, allocations: 16 kB / 472.7 MB, free: 4.512 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.2509, allocations: 4 kB / 472.7 MB, free: 4.508 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.2509, allocations: 7.969 kB / 472.7 MB, free: 4.5 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001572/0.2525, allocations: 1.35 MB / 474 MB, free: 3.316 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.2525, allocations: 7.469 kB / 474 MB, free: 3.312 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006507/0.2531, allocations: 345.6 kB / 474.4 MB, free: 2.992 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002356/0.2555, allocations: 0.6416 MB / 475 MB, free: 2.336 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/0.2556, allocations: 63.97 kB / 475.1 MB, free: 2.273 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004983/0.2606, allocations: 8.431 MB / 483.5 MB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.2606, allocations: 4 kB / 483.5 MB, free: 9.461 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003745/0.2643, allocations: 2.196 MB / 485.7 MB, free: 7.242 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002831/0.2646, allocations: 164.7 kB / 485.9 MB, free: 7.086 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/0.2648, allocations: 36 kB / 485.9 MB, free: 7.051 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004187/0.2652, allocations: 40 kB / 485.9 MB, free: 7.012 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002018/0.2654, allocations: 153.1 kB / 486.1 MB, free: 6.863 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.2e-05/0.2655, allocations: 63.97 kB / 486.2 MB, free: 6.801 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005479/0.266, allocations: 0.6933 MB / 486.8 MB, free: 6.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 3e-07/0.266, allocations: 0 / 486.8 MB, free: 6.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003203/0.2692, allocations: 1.317 MB / 488.2 MB, free: 4.84 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (blood_plasma.temperature,red_cells.temperature,CO2_unbound_plasma.logn,O2_unbound_plasma.logn,CO2_unbound_erythrocyte.logn,O2_unbound_erythrocyte_NIST.logn,water_plasma.logn,water.logn,water_plasma1.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 (183): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002473/0.2717, allocations: 1.556 MB / 489.7 MB, free: 3.469 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002162/0.2738, allocations: 2.024 MB / 491.7 MB, free: 1.496 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.2739, allocations: 0 / 491.7 MB, free: 1.496 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00101/0.2749, allocations: 1.329 MB / 493.1 MB, free: 156 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.2759, allocations: 399.7 kB / 493.5 MB, free: 15.77 MB / 378.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004691/0.2806, allocations: 3.303 MB / 496.8 MB, free: 12.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.2809, allocations: 341.5 kB / 497.1 MB, free: 12.07 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000985/0.2818, allocations: 426.8 kB / 497.5 MB, free: 11.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008926/0.2827, allocations: 0.6145 MB / 498.1 MB, free: 11.04 MB / 378.7 MB Notification: Performance of SimCode: time 1.152e-06/0.2827, allocations: 0 / 498.1 MB, free: 11.04 MB / 378.7 MB Notification: Performance of Templates: time 0.05352/0.3363, allocations: 52.27 MB / 0.5375 GB, free: 7.281 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.GasSolubility.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.GasSolubility.sim & ./Chemical_Chemical.Obsolete.Examples.GasSolubility -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.092727491166443]