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.001007/0.001007, allocations: 93.06 kB / 19.65 MB, free: 280 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.001028/0.001028, allocations: 169.3 kB / 23.02 MB, free: 1.555 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.9825/0.9825, allocations: 177.1 MB / 203.4 MB, free: 5.586 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.1021/0.1021, allocations: 17.38 MB / 277.3 MB, free: 11.66 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 2.675e-06/2.675e-06, allocations: 0 / 353.4 MB, free: 10 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.188e-05/3.456e-05, allocations: 2.312 kB / 353.4 MB, free: 9.996 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.008385/0.00842, allocations: 10.21 MB / 363.6 MB, free: 15.74 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02633/0.03475, allocations: 30.96 MB / 394.6 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002265/0.03701, allocations: 31.75 kB / 394.6 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002063/0.03908, allocations: 0.6006 MB / 395.2 MB, free: 28 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006834/0.04591, allocations: 2.711 MB / 397.9 MB, free: 13.3 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01046/0.05636, allocations: 4.123 MB / 402.1 MB, free: 9.148 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005055/0.06142, allocations: 3.111 MB / 405.2 MB, free: 6.027 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002241/0.06366, allocations: 1.418 MB / 406.6 MB, free: 4.566 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003438/0.0671, allocations: 2.059 MB / 408.6 MB, free: 2.504 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00222/0.06932, allocations: 1.329 MB / 410 MB, free: 1.172 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006847/0.07, allocations: 264 kB / 410.2 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.158/0.228, allocations: 3.218 MB / 413.5 MB, free: 24.45 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001053/0.2291, allocations: 0.6198 MB / 414.1 MB, free: 24.45 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002363/0.2315, allocations: 0.9736 MB / 415 MB, free: 24.45 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01429/0.2458, allocations: 5.962 MB / 421 MB, free: 24.11 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.2458, allocations: 2.844 kB / 421 MB, free: 24.11 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2458, allocations: 0 / 421 MB, free: 24.11 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.855e-05/0.2459, allocations: 0 / 421 MB, free: 24.11 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.005373/0.2512, allocations: 3.282 MB / 424.3 MB, free: 22.57 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.2513, allocations: 9.938 kB / 424.3 MB, free: 22.57 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001932/0.2532, allocations: 0.9732 MB / 425.3 MB, free: 22.25 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/0.2546, allocations: 1.099 MB / 426.4 MB, free: 21.91 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.524e-05/0.2547, allocations: 160.4 kB / 426.5 MB, free: 21.91 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002274/0.2549, allocations: 218.8 kB / 426.7 MB, free: 21.9 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002189/0.2571, allocations: 2.049 MB / 428.8 MB, free: 21.66 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.916e-05/0.2572, allocations: 192 / 428.8 MB, free: 21.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001511/0.2573, allocations: 85.94 kB / 428.9 MB, free: 21.66 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.938e-05/0.2573, allocations: 55.94 kB / 428.9 MB, free: 21.65 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002447/0.2598, allocations: 2.261 MB / 431.2 MB, free: 21.6 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.007181/0.267, allocations: 6.27 MB / 437.5 MB, free: 19.5 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003275/0.2702, allocations: 3.577 MB / 441 MB, free: 18.71 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007414/0.271, allocations: 0.6405 MB / 441.7 MB, free: 18.58 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006498/0.2775, allocations: 4.655 MB / 446.3 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/0.2775, allocations: 55.42 kB / 446.4 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004697/0.278, allocations: 174.8 kB / 446.6 MB, free: 15.03 MB / 330.7 MB Notification: Performance of pre-optimization done (n=138): time 6.502e-06/0.278, allocations: 0 / 446.6 MB, free: 15.03 MB / 330.7 MB Notification: Performance of matching and sorting (n=170): time 0.01271/0.2907, allocations: 5.381 MB / 451.9 MB, free: 9.656 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.2907, allocations: 69.41 kB / 452 MB, free: 9.574 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/0.2918, allocations: 1.303 MB / 453.3 MB, free: 8.234 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.207e-05/0.2919, allocations: 53.7 kB / 453.4 MB, free: 8.176 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003619/0.2923, allocations: 1.143 MB / 454.5 MB, free: 7.027 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002755/0.2925, allocations: 0.6091 MB / 455.1 MB, free: 6.426 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003726/0.2929, allocations: 486.2 kB / 455.6 MB, free: 5.945 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.624e-05/0.293, allocations: 476.8 kB / 456.1 MB, free: 5.477 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006073/0.2936, allocations: 436.7 kB / 456.5 MB, free: 5.047 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000899/0.2945, allocations: 1.556 MB / 458 MB, free: 3.004 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001696/0.2962, allocations: 2.177 MB / 460.2 MB, free: 448 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-05/0.2962, allocations: 4 kB / 460.2 MB, free: 444 kB / 330.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004346/0.3005, allocations: 2.488 MB / 462.7 MB, free: 14.1 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.08e-05/0.3006, allocations: 16 kB / 462.7 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.332e-05/0.3006, allocations: 28 kB / 462.8 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00278/0.3034, allocations: 0.67 MB / 463.4 MB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.3045, allocations: 0.5957 MB / 464 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006472/0.311, allocations: 8.731 MB / 472.7 MB, free: 3.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/0.3125, allocations: 83.38 kB / 472.8 MB, free: 3.582 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000234/0.3127, allocations: 144 kB / 473 MB, free: 3.441 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.0006932/0.3134, allocations: 315 kB / 473.3 MB, free: 3.16 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003929/0.3138, allocations: 214.9 kB / 473.5 MB, free: 2.949 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01512/0.3289, allocations: 2.039 MB / 475.5 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.186e-05/0.3289, allocations: 16 kB / 475.5 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.3289, allocations: 4 kB / 475.5 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.525e-05/0.329, allocations: 11.91 kB / 475.6 MB, free: 0.875 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00875/0.3377, allocations: 1.324 MB / 476.9 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.573e-05/0.3378, allocations: 4 kB / 476.9 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001177/0.3389, allocations: 341.5 kB / 477.2 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009513/0.3485, allocations: 0.6564 MB / 477.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003069/0.3488, allocations: 59.97 kB / 477.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0197/0.3685, allocations: 8.54 MB / 486.5 MB, free: 5.496 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.3685, allocations: 0 / 486.5 MB, free: 5.496 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01029/0.3788, allocations: 2.443 MB / 488.9 MB, free: 2.996 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008105/0.3796, allocations: 161.1 kB / 489.1 MB, free: 2.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002544/0.3798, allocations: 36 kB / 489.1 MB, free: 2.805 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008102/0.3806, allocations: 40 kB / 489.1 MB, free: 2.766 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003778/0.381, allocations: 157.3 kB / 489.3 MB, free: 2.613 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000178/0.3812, allocations: 71.97 kB / 489.4 MB, free: 2.543 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001198/0.3824, allocations: 0.7514 MB / 490.1 MB, free: 1.789 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.3824, allocations: 0 / 490.1 MB, free: 1.789 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003533/0.3859, allocations: 1.317 MB / 491.4 MB, free: 480 kB / 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.002505/0.3884, allocations: 1.49 MB / 492.9 MB, free: 15.17 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002714/0.3911, allocations: 2.182 MB / 495.1 MB, free: 13.01 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3911, allocations: 0 / 495.1 MB, free: 13.01 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0012/0.3923, allocations: 1.399 MB / 496.5 MB, free: 11.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.3935, allocations: 397.1 kB / 496.9 MB, free: 11.19 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.00499/0.3985, allocations: 3.367 MB / 0.4885 GB, free: 7.762 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.3988, allocations: 337.5 kB / 0.4889 GB, free: 7.406 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001104/0.3999, allocations: 420.6 kB / 0.4893 GB, free: 6.996 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004643/0.4003, allocations: 291.3 kB / 0.4895 GB, free: 6.715 MB / 378.7 MB Notification: Performance of SimCode: time 1.984e-06/0.4003, allocations: 0 / 0.4895 GB, free: 6.715 MB / 378.7 MB Notification: Performance of Templates: time 0.04661/0.447, allocations: 45.98 MB / 0.5344 GB, free: 9.219 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.506185226608068]