Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.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.001407/0.001407, allocations: 88.72 kB / 19.44 MB, free: 356 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.001623/0.001623, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.473/1.473, allocations: 177.1 MB / 203.1 MB, free: 5.258 MB / 186.7 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.1382/0.1382, allocations: 17.36 MB / 276.9 MB, free: 11.54 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.AcidBase.CarbonDioxideInBlood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood") translateModel(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 352.7 MB, free: 10.33 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.904e-05/3.06e-05, allocations: 12.86 kB / 352.7 MB, free: 10.32 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337:66: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/Obsolete.mo:14337:7-14337:66: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.Obsolete.Examples.AcidBase.CarbonDioxideInBlood): time 0.04926/0.04929, allocations: 33.84 MB / 386.6 MB, free: 8.594 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.1925/0.2418, allocations: 41.73 MB / 428.3 MB, free: 31.7 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002439/0.2443, allocations: 50.84 kB / 428.3 MB, free: 31.7 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002481/0.2467, allocations: 0.9344 MB / 429.3 MB, free: 31.62 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01003/0.2568, allocations: 3.844 MB / 433.1 MB, free: 30.46 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01496/0.2717, allocations: 6.681 MB / 439.8 MB, free: 27.48 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004789/0.2765, allocations: 4.68 MB / 444.5 MB, free: 24.72 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002324/0.2788, allocations: 2.331 MB / 446.8 MB, free: 23.14 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002829/0.2817, allocations: 3.158 MB / 450 MB, free: 21.5 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002439/0.2841, allocations: 2.114 MB / 452.1 MB, free: 20.34 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005147/0.2846, allocations: 422.7 kB / 452.5 MB, free: 19.93 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0116/0.2962, allocations: 5.065 MB / 457.6 MB, free: 14.95 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007688/0.297, allocations: 1.004 MB / 458.6 MB, free: 14.03 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001737/0.2987, allocations: 1.498 MB / 460.1 MB, free: 12.62 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01789/0.3166, allocations: 10.9 MB / 471 MB, free: 1.801 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3166, allocations: 0 / 471 MB, free: 1.801 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3166, allocations: 0 / 471 MB, free: 1.801 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.394e-05/0.3167, allocations: 2.656 kB / 471 MB, free: 1.801 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: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.01048/0.3272, allocations: 4.723 MB / 475.7 MB, free: 13.05 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.3272, allocations: 8.031 kB / 475.7 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00505/0.3323, allocations: 1.429 MB / 477.1 MB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003583/0.3359, allocations: 1.646 MB / 478.8 MB, free: 9.934 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003794/0.3362, allocations: 349.7 kB / 479.1 MB, free: 9.566 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007217/0.337, allocations: 336.2 kB / 479.4 MB, free: 9.238 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009264/0.3462, allocations: 4.543 MB / 484 MB, free: 4.625 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.863e-05/0.3463, allocations: 4.125 kB / 484 MB, free: 4.621 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004099/0.3467, allocations: 131.1 kB / 484.1 MB, free: 4.496 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-05/0.3468, allocations: 79.94 kB / 484.2 MB, free: 4.418 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01164/0.3584, allocations: 6.165 MB / 490.4 MB, free: 14.24 MB / 362.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.0265/0.3849, allocations: 11.74 MB / 0.4903 GB, free: 2.438 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01092/0.3958, allocations: 5.31 MB / 0.4955 GB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003948/0.3998, allocations: 2.059 MB / 0.4975 GB, free: 11.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02303/0.4228, allocations: 9.333 MB / 0.5066 GB, free: 1.762 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.225e-05/0.4229, allocations: 71.39 kB / 0.5067 GB, free: 1.684 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002228/0.4251, allocations: 449.7 kB / 0.5071 GB, free: 1.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=284): time 9.388e-06/0.4251, allocations: 0 / 0.5071 GB, free: 1.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=387): time 0.1056/0.5307, allocations: 23.45 MB / 0.53 GB, free: 9.953 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.629e-05/0.5308, allocations: 90.45 kB / 0.5301 GB, free: 9.852 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002678/0.5335, allocations: 1.637 MB / 0.5317 GB, free: 8.211 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004958/0.534, allocations: 93.7 kB / 0.5318 GB, free: 8.113 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001321/0.5353, allocations: 1.355 MB / 0.5331 GB, free: 6.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00204/0.5374, allocations: 1.348 MB / 0.5345 GB, free: 5.391 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001878/0.5393, allocations: 0.772 MB / 0.5352 GB, free: 4.605 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.5394, allocations: 315.8 kB / 0.5355 GB, free: 4.297 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003888/0.5433, allocations: 1.836 MB / 0.5373 GB, free: 2.453 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005382/0.5487, allocations: 2.843 MB / 0.5401 GB, free: 15.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009718/0.5584, allocations: 4.976 MB / 0.5449 GB, free: 9.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.952e-05/0.5584, allocations: 8 kB / 0.5449 GB, free: 9.812 MB / 426.7 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.02309/0.5815, allocations: 7.027 MB / 0.5518 GB, free: 2.781 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.563e-05/0.5816, allocations: 16 kB / 0.5518 GB, free: 2.766 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.894e-05/0.5816, allocations: 30.69 kB / 0.5519 GB, free: 2.738 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01637/0.598, allocations: 2.732 MB / 0.5545 GB, free: 56 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004162/0.6022, allocations: 0.892 MB / 0.5554 GB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2129/0.815, allocations: 17.44 MB / 0.5724 GB, free: 114.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003393/0.8184, allocations: 141.6 kB / 0.5726 GB, free: 114.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004592/0.8189, allocations: 233.2 kB / 0.5728 GB, free: 114.4 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * 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 (469): * Single equations (assignments): 460 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,16,77.8%), (1,3,100.0%), (2,6,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(3,26), (1,3), (1,6), (1,2), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001307/0.8202, allocations: 0.6046 MB / 0.5734 GB, free: 114.3 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008939/0.8211, allocations: 394.4 kB / 0.5737 GB, free: 114.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01772/0.8388, allocations: 6.573 MB / 0.5802 GB, free: 114.1 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.652e-05/0.8388, allocations: 39.88 kB / 0.5802 GB, free: 114.1 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.969e-05/0.8389, allocations: 12.08 kB / 0.5802 GB, free: 114.1 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-05/0.8389, allocations: 23.02 kB / 0.5802 GB, free: 114.1 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02207/0.861, allocations: 9.755 MB / 0.5898 GB, free: 111.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.483e-05/0.861, allocations: 6.156 kB / 0.5898 GB, free: 111.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003056/0.8641, allocations: 0.6546 MB / 0.5904 GB, free: 111.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01277/0.8769, allocations: 2.439 MB / 0.5928 GB, free: 111.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006199/0.8775, allocations: 133.6 kB / 0.5929 GB, free: 111.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01889/0.8964, allocations: 16.06 MB / 0.6086 GB, free: 98.86 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.8964, allocations: 10.75 kB / 0.6086 GB, free: 98.86 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01853/0.9149, allocations: 8.627 MB / 0.617 GB, free: 95.16 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001403/0.9163, allocations: 0.6296 MB / 0.6177 GB, free: 94.68 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005155/0.9168, allocations: 80 kB / 0.6177 GB, free: 94.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002073/0.9189, allocations: 97 kB / 0.6178 GB, free: 94.51 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006957/0.9196, allocations: 354.1 kB / 0.6182 GB, free: 94.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003239/0.9199, allocations: 156.1 kB / 0.6183 GB, free: 94.21 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001119/0.921, allocations: 1.032 MB / 0.6193 GB, free: 93.34 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.921, allocations: 0 / 0.6193 GB, free: 93.34 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00543/0.9265, allocations: 2.202 MB / 0.6215 GB, free: 91.51 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 14 (blood_erythrocytes.temperature,blood_erythrocytes.mass,blood_plasma.temperature,blood_plasma.mass,HCO3.logn,CO2.logn,H2O.logn,HCO3_E.logn,CO2_E.logn,H2O_E.logn,Cl_E.logn,Cl.logn,others_E.logn,others_P.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 (354): * Single equations (assignments): 345 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,16,77.8%), (1,3,100.0%), (2,6,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(2,8), (4,30), (1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004032/0.9305, allocations: 2.35 MB / 0.6238 GB, free: 90.18 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009147/0.9396, allocations: 5.595 MB / 0.6292 GB, free: 85.21 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.9396, allocations: 0 / 0.6292 GB, free: 85.21 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005614/0.9453, allocations: 3.349 MB / 0.6325 GB, free: 81.95 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003384/0.9486, allocations: 0.6276 MB / 0.6331 GB, free: 81.39 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01134/0.96, allocations: 6.657 MB / 0.6396 GB, free: 74.77 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001333/0.9613, allocations: 1.333 MB / 0.6409 GB, free: 73.44 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002612/0.9639, allocations: 0.6638 MB / 0.6416 GB, free: 72.98 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001105/0.965, allocations: 452.1 kB / 0.642 GB, free: 72.54 MB / 442.7 MB Notification: Performance of SimCode: time 1.002e-06/0.965, allocations: 0 / 0.642 GB, free: 72.54 MB / 442.7 MB Notification: Performance of Templates: time 0.1079/1.073, allocations: 86.51 MB / 0.7265 GB, free: 2.785 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.sim & ./Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.572865029098466]