Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.0006619/0.0006619, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000901/0.001563, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006854/0.0006854, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008935/0.001579, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.8808/0.8808, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08251/0.9633, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.08434/0.08434, allocations: 17.44 MB / 261.4 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009231/0.09357, allocations: 6.966 MB / 268.4 MB, free: 6.398 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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.AcidBase.CarbonDioxideInBlood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood") translateModel(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 269.7 MB, free: 5.109 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.07e-05/1.184e-05, allocations: 2.312 kB / 269.7 MB, free: 5.105 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/Obsolete.mo:14335:7-14335: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.1-master/Obsolete.mo:14335:7-14335: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.124/0.124, allocations: 14.2 MB / 283.9 MB, free: 14.09 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.04079/0.1648, allocations: 47.57 MB / 331.4 MB, free: 4.625 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002165/0.167, allocations: 47.62 kB / 331.5 MB, free: 4.578 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001771/0.1687, allocations: 0.965 MB / 332.5 MB, free: 3.605 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007707/0.1764, allocations: 3.777 MB / 336.2 MB, free: 15.8 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0136/0.19, allocations: 6.645 MB / 342.9 MB, free: 9.113 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004446/0.1945, allocations: 4.648 MB / 347.5 MB, free: 4.453 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002193/0.1967, allocations: 2.353 MB / 349.9 MB, free: 2.023 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002825/0.1995, allocations: 3.351 MB / 353.2 MB, free: 14.61 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002122/0.2016, allocations: 2.132 MB / 355.4 MB, free: 12.48 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006133/0.2022, allocations: 424 kB / 355.8 MB, free: 12.06 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01102/0.2133, allocations: 5.29 MB / 361.1 MB, free: 6.766 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005671/0.2138, allocations: 0.6777 MB / 361.7 MB, free: 6.086 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001261/0.2151, allocations: 1.158 MB / 362.9 MB, free: 4.926 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01403/0.2291, allocations: 8.498 MB / 371.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.539e-05/0.2291, allocations: 4 kB / 371.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2291, allocations: 0 / 371.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001038/0.2292, allocations: 0 / 371.4 MB, free: 12.39 MB / 362.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.007181/0.2364, allocations: 6.048 MB / 377.4 MB, free: 6.289 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.2365, allocations: 12.03 kB / 377.5 MB, free: 6.277 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002371/0.2388, allocations: 1.438 MB / 378.9 MB, free: 4.816 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001556/0.2404, allocations: 1.229 MB / 380.1 MB, free: 3.547 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001666/0.2405, allocations: 349.6 kB / 380.5 MB, free: 3.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003379/0.2409, allocations: 332.2 kB / 380.8 MB, free: 2.855 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002915/0.2438, allocations: 2.927 MB / 383.7 MB, free: 15.85 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.123e-05/0.2438, allocations: 192 / 383.7 MB, free: 15.85 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000196/0.244, allocations: 132.1 kB / 383.8 MB, free: 15.72 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.9e-05/0.2441, allocations: 76 kB / 383.9 MB, free: 15.64 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00264/0.2467, allocations: 2.597 MB / 386.5 MB, free: 13.02 MB / 378.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.0123/0.259, allocations: 8.017 MB / 394.5 MB, free: 4.902 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006289/0.2653, allocations: 4.783 MB / 399.3 MB, free: 92 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001122/0.2664, allocations: 0.873 MB / 400.2 MB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01147/0.2779, allocations: 6.686 MB / 406.9 MB, free: 8.488 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/0.2779, allocations: 56.8 kB / 406.9 MB, free: 8.422 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001066/0.279, allocations: 449.9 kB / 407.4 MB, free: 7.98 MB / 394.7 MB Notification: Performance of pre-optimization done (n=284): time 5.45e-06/0.279, allocations: 4 kB / 407.4 MB, free: 7.977 MB / 394.7 MB Notification: Performance of matching and sorting (n=387): time 0.03997/0.319, allocations: 15.37 MB / 422.7 MB, free: 8.453 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.047e-05/0.319, allocations: 94.45 kB / 422.8 MB, free: 8.348 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/0.3202, allocations: 1.394 MB / 424.2 MB, free: 6.945 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001764/0.3204, allocations: 89.7 kB / 424.3 MB, free: 6.852 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005794/0.321, allocations: 1.162 MB / 425.5 MB, free: 5.676 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000865/0.3218, allocations: 1.367 MB / 426.8 MB, free: 4.297 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001154/0.323, allocations: 0.76 MB / 427.6 MB, free: 3.523 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.136e-05/0.3231, allocations: 309.1 kB / 427.9 MB, free: 3.219 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000966/0.324, allocations: 0.5919 MB / 428.5 MB, free: 2.617 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001488/0.3255, allocations: 1.605 MB / 430.1 MB, free: 0.582 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1334/0.459, allocations: 2.831 MB / 432.9 MB, free: 79.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.048e-05/0.459, allocations: 8.469 kB / 432.9 MB, free: 79.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.006885/0.4659, allocations: 3.519 MB / 436.5 MB, free: 79.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.042e-05/0.4659, allocations: 19.34 kB / 436.5 MB, free: 79.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.631e-05/0.4659, allocations: 29.03 kB / 436.5 MB, free: 79.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005813/0.4717, allocations: 2.214 MB / 438.7 MB, free: 79.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001933/0.4737, allocations: 1.082 MB / 439.8 MB, free: 79.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008777/0.4825, allocations: 12.95 MB / 452.8 MB, free: 69.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/0.4839, allocations: 134.5 kB / 452.9 MB, free: 69.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002398/0.4841, allocations: 183.5 kB / 453.1 MB, free: 69.19 MB / 410.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.0006834/0.4848, allocations: 363.3 kB / 453.4 MB, free: 69.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003646/0.4852, allocations: 277.3 kB / 453.7 MB, free: 69.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005801/0.491, allocations: 3.724 MB / 457.4 MB, free: 68.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.659e-05/0.491, allocations: 41.66 kB / 457.5 MB, free: 68.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/0.491, allocations: 3.531 kB / 457.5 MB, free: 68.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-05/0.491, allocations: 24.7 kB / 457.5 MB, free: 68.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007674/0.4987, allocations: 5.295 MB / 462.8 MB, free: 68.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/0.4987, allocations: 7.812 kB / 462.8 MB, free: 68.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001528/0.5002, allocations: 0.8188 MB / 463.6 MB, free: 68.08 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006884/0.5009, allocations: 377.1 kB / 464 MB, free: 68.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004758/0.5057, allocations: 2.009 MB / 466 MB, free: 67.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001496/0.5058, allocations: 125.9 kB / 466.1 MB, free: 67.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006947/0.5128, allocations: 12.35 MB / 478.5 MB, free: 58.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.5128, allocations: 11.62 kB / 478.5 MB, free: 58.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005599/0.5184, allocations: 4.27 MB / 482.7 MB, free: 57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002644/0.5186, allocations: 86.12 kB / 482.8 MB, free: 57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007758/0.5194, allocations: 86.39 kB / 482.9 MB, free: 56.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003624/0.5198, allocations: 354.1 kB / 483.2 MB, free: 56.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001566/0.5199, allocations: 123.3 kB / 483.4 MB, free: 56.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000336/0.5203, allocations: 0.6211 MB / 484 MB, free: 56.63 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.5203, allocations: 0 / 484 MB, free: 56.63 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003444/0.5237, allocations: 2.207 MB / 486.2 MB, free: 55.17 MB / 410.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.002263/0.526, allocations: 2.469 MB / 488.7 MB, free: 53.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003147/0.5291, allocations: 3.467 MB / 492.1 MB, free: 50.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.32e-05/0.5292, allocations: 63.97 kB / 492.2 MB, free: 50.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001714/0.5309, allocations: 2.346 MB / 494.5 MB, free: 47.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/0.5322, allocations: 0.9124 MB / 495.5 MB, free: 47.19 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01797/0.5502, allocations: 5.793 MB / 0.4895 GB, free: 41.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/0.5506, allocations: 0.5732 MB / 0.4901 GB, free: 41.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001524/0.5521, allocations: 0.6333 MB / 0.4907 GB, free: 40.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001225/0.5533, allocations: 0.8335 MB / 0.4915 GB, free: 39.79 MB / 410.7 MB Notification: Performance of SimCode: time 1.062e-06/0.5533, allocations: 0 / 0.4915 GB, free: 39.79 MB / 410.7 MB Notification: Performance of Templates: time 0.217/0.7703, allocations: 98.8 MB / 0.588 GB, free: 121.3 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.sim & ./Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.671422306448221]