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.001322/0.001322, 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.001657/0.001657, allocations: 169 kB / 23.02 MB, free: 1.551 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.9626/0.9626, allocations: 177.1 MB / 203.4 MB, free: 5.66 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.08367/0.08367, allocations: 17.46 MB / 277.4 MB, free: 11.58 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.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.613e-06/1.613e-06, allocations: 0 / 353.6 MB, free: 9.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.308e-05/2.47e-05, allocations: 9.266 kB / 353.6 MB, free: 9.832 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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 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.033/0.03302, allocations: 37.95 MB / 391.5 MB, free: 3.98 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.1667/0.1997, allocations: 47.92 MB / 439.4 MB, free: 30.42 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002337/0.2021, allocations: 50.97 kB / 439.5 MB, free: 30.39 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002271/0.2043, allocations: 0.9444 MB / 440.4 MB, free: 29.89 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008547/0.2129, allocations: 3.842 MB / 444.3 MB, free: 27.36 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01335/0.2262, allocations: 6.695 MB / 451 MB, free: 22.27 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004514/0.2307, allocations: 4.685 MB / 455.7 MB, free: 19.44 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002303/0.233, allocations: 2.325 MB / 458 MB, free: 17.39 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003433/0.2365, allocations: 3.147 MB / 461.1 MB, free: 14.23 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002309/0.2388, allocations: 2.153 MB / 463.3 MB, free: 12.08 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008018/0.2396, allocations: 420 kB / 463.7 MB, free: 11.67 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0112/0.2508, allocations: 5.068 MB / 468.8 MB, free: 6.594 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009862/0.2518, allocations: 1.005 MB / 469.8 MB, free: 5.586 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002145/0.2539, allocations: 1.505 MB / 471.3 MB, free: 4.078 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02018/0.2741, allocations: 9.364 MB / 480.6 MB, free: 10.68 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2741, allocations: 0 / 480.6 MB, free: 10.68 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2741, allocations: 0 / 480.6 MB, free: 10.68 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001224/0.2742, allocations: 0 / 480.6 MB, free: 10.68 MB / 346.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.007801/0.282, allocations: 4.871 MB / 485.5 MB, free: 5.777 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.2821, allocations: 12.03 kB / 485.5 MB, free: 5.766 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003756/0.2858, allocations: 1.426 MB / 486.9 MB, free: 4.336 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002426/0.2883, allocations: 1.633 MB / 488.6 MB, free: 2.668 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002458/0.2885, allocations: 349.7 kB / 488.9 MB, free: 2.301 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004895/0.289, allocations: 334.9 kB / 489.2 MB, free: 1.977 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005062/0.2941, allocations: 3.229 MB / 492.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.384e-05/0.2941, allocations: 4.125 kB / 492.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002947/0.2944, allocations: 128.4 kB / 492.6 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.804e-05/0.2945, allocations: 79.94 kB / 492.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01187/0.3063, allocations: 3.552 MB / 496.2 MB, free: 10.89 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.02832/0.3347, allocations: 10.47 MB / 0.4948 GB, free: 336 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007493/0.3422, allocations: 5.253 MB / 0.5 GB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002077/0.3442, allocations: 1.21 MB / 0.5011 GB, free: 9.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01388/0.3581, allocations: 7.913 MB / 0.5089 GB, free: 1.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.179e-05/0.3582, allocations: 72.44 kB / 0.5089 GB, free: 1.898 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001169/0.3593, allocations: 452.5 kB / 0.5094 GB, free: 1.465 MB / 378.7 MB Notification: Performance of pre-optimization done (n=284): time 9.628e-06/0.3594, allocations: 0 / 0.5094 GB, free: 1.465 MB / 378.7 MB Notification: Performance of matching and sorting (n=387): time 0.03693/0.3963, allocations: 16.47 MB / 0.5255 GB, free: 1.02 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.3963, allocations: 90.45 kB / 0.5255 GB, free: 0.918 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001394/0.3977, allocations: 1.491 MB / 0.527 GB, free: 15.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004118/0.3981, allocations: 85.7 kB / 0.5271 GB, free: 15.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006964/0.3988, allocations: 1.428 MB / 0.5285 GB, free: 13.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00113/0.4, allocations: 1.366 MB / 0.5298 GB, free: 12.51 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008687/0.4008, allocations: 0.7845 MB / 0.5306 GB, free: 11.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.842e-05/0.4009, allocations: 476.8 kB / 0.531 GB, free: 11.24 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001465/0.4024, allocations: 0.9218 MB / 0.5319 GB, free: 10.31 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002081/0.4045, allocations: 2.304 MB / 0.5342 GB, free: 7.418 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003831/0.4083, allocations: 3.718 MB / 0.5378 GB, free: 3.156 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-05/0.4083, allocations: 8 kB / 0.5378 GB, free: 3.148 MB / 410.7 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.009207/0.4175, allocations: 4.882 MB / 0.5426 GB, free: 14.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.621e-05/0.4176, allocations: 16 kB / 0.5426 GB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-05/0.4176, allocations: 34.69 kB / 0.5426 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006979/0.4246, allocations: 2.284 MB / 0.5449 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002212/0.4268, allocations: 0.8958 MB / 0.5457 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.16/0.5868, allocations: 18.43 MB / 0.5637 GB, free: 91.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003826/0.5906, allocations: 137.9 kB / 0.5639 GB, free: 91.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001269/0.5918, allocations: 227.6 kB / 0.5641 GB, free: 91.23 MB / 426.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.001895/0.5937, allocations: 416.3 kB / 0.5645 GB, free: 91.07 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001342/0.5951, allocations: 391.4 kB / 0.5649 GB, free: 91.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01117/0.6063, allocations: 4.857 MB / 0.5696 GB, free: 90.76 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.529e-05/0.6063, allocations: 45.27 kB / 0.5696 GB, free: 90.76 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.909e-05/0.6063, allocations: 6.594 kB / 0.5697 GB, free: 90.76 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.311e-05/0.6064, allocations: 21.05 kB / 0.5697 GB, free: 90.76 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01278/0.6192, allocations: 7.38 MB / 0.5769 GB, free: 89.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.717e-05/0.6192, allocations: 4.312 kB / 0.5769 GB, free: 89.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001933/0.6211, allocations: 0.6599 MB / 0.5775 GB, free: 89.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0062/0.6273, allocations: 2.046 MB / 0.5795 GB, free: 89.79 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006125/0.6279, allocations: 140.3 kB / 0.5797 GB, free: 89.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01089/0.6388, allocations: 17.67 MB / 0.5969 GB, free: 75.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.6388, allocations: 3.938 kB / 0.5969 GB, free: 75.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01005/0.6489, allocations: 5.674 MB / 0.6025 GB, free: 74.16 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001172/0.6501, allocations: 0.618 MB / 0.6031 GB, free: 73.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003126/0.6504, allocations: 79.38 kB / 0.6031 GB, free: 73.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000998/0.6514, allocations: 92.52 kB / 0.6032 GB, free: 73.71 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006618/0.652, allocations: 357.9 kB / 0.6036 GB, free: 73.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002908/0.6523, allocations: 156.2 kB / 0.6037 GB, free: 73.63 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008326/0.6532, allocations: 0.8213 MB / 0.6045 GB, free: 73.35 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6532, allocations: 2.406 kB / 0.6045 GB, free: 73.35 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004899/0.6581, allocations: 2.205 MB / 0.6067 GB, free: 73.12 MB / 426.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.003296/0.6613, allocations: 2.335 MB / 0.609 GB, free: 72.75 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005798/0.6671, allocations: 4.548 MB / 0.6134 GB, free: 68.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/0.6672, allocations: 0 / 0.6134 GB, free: 68.71 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003423/0.6706, allocations: 3.082 MB / 0.6164 GB, free: 65.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001874/0.6725, allocations: 0.6126 MB / 0.617 GB, free: 65.45 MB / 426.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007154/0.6796, allocations: 5.897 MB / 0.6228 GB, free: 59.96 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.68, allocations: 0.569 MB / 0.6233 GB, free: 59.37 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00167/0.6817, allocations: 0.6451 MB / 0.624 GB, free: 58.93 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007381/0.6824, allocations: 452.1 kB / 0.6244 GB, free: 58.49 MB / 426.7 MB Notification: Performance of SimCode: time 1.964e-06/0.6824, allocations: 0 / 0.6244 GB, free: 58.49 MB / 426.7 MB Notification: Performance of Templates: time 0.08605/0.7684, allocations: 96.41 MB / 0.7185 GB, free: 11.01 MB / 474.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: 6.413731891196221]