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.0009788/0.0009788, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.00112/0.00112, allocations: 173 kB / 23.5 MB, free: 1.055 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.9904/0.9904, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.08964/0.08964, allocations: 17.46 MB / 277.7 MB, free: 11.62 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.512e-06/1.512e-06, allocations: 0 / 353.6 MB, free: 10.15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.367e-05/2.518e-05, allocations: 2.312 kB / 353.6 MB, free: 10.15 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.03556/0.03559, allocations: 37.81 MB / 391.4 MB, free: 4.453 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.1814/0.217, allocations: 47.73 MB / 439.1 MB, free: 30.62 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002327/0.2193, allocations: 52.19 kB / 439.2 MB, free: 30.6 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002566/0.2219, allocations: 0.9348 MB / 440.1 MB, free: 30.1 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008356/0.2302, allocations: 3.845 MB / 444 MB, free: 27.62 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01211/0.2424, allocations: 6.681 MB / 450.6 MB, free: 22.54 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003858/0.2462, allocations: 4.687 MB / 455.3 MB, free: 19.71 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001847/0.2481, allocations: 2.327 MB / 457.7 MB, free: 17.88 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00208/0.2501, allocations: 3.154 MB / 460.8 MB, free: 14.72 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001594/0.2517, allocations: 2.15 MB / 463 MB, free: 12.57 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003836/0.2521, allocations: 424 kB / 463.4 MB, free: 12.16 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008964/0.2611, allocations: 5.06 MB / 468.4 MB, free: 7.086 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006665/0.2617, allocations: 1.011 MB / 469.4 MB, free: 6.074 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001343/0.2631, allocations: 1.505 MB / 470.9 MB, free: 4.566 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01567/0.2788, allocations: 9.358 MB / 480.3 MB, free: 11.17 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.2788, allocations: 0 / 480.3 MB, free: 11.17 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2788, allocations: 0 / 480.3 MB, free: 11.17 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001046/0.2789, allocations: 0 / 480.3 MB, free: 11.17 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.00617/0.285, allocations: 4.875 MB / 485.2 MB, free: 6.266 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.2851, allocations: 8.031 kB / 485.2 MB, free: 6.258 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003125/0.2882, allocations: 1.427 MB / 486.6 MB, free: 4.828 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002027/0.2902, allocations: 1.633 MB / 488.2 MB, free: 3.16 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002061/0.2904, allocations: 352.3 kB / 488.6 MB, free: 2.793 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004032/0.2908, allocations: 336.2 kB / 488.9 MB, free: 2.465 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004538/0.2954, allocations: 3.225 MB / 492.1 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.702e-05/0.2954, allocations: 192 / 492.1 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002464/0.2957, allocations: 127 kB / 492.3 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.033e-05/0.2957, allocations: 79.94 kB / 492.3 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004716/0.3004, allocations: 3.553 MB / 495.9 MB, free: 11.38 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.01319/0.3136, allocations: 10.47 MB / 0.4945 GB, free: 0.8281 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005647/0.3193, allocations: 5.269 MB / 0.4996 GB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001477/0.3207, allocations: 1.203 MB / 0.5008 GB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01084/0.3316, allocations: 7.923 MB / 0.5086 GB, free: 2.465 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/0.3316, allocations: 67.56 kB / 0.5086 GB, free: 2.387 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001111/0.3327, allocations: 448.6 kB / 0.509 GB, free: 1.957 MB / 378.7 MB Notification: Performance of pre-optimization done (n=284): time 7.424e-06/0.3327, allocations: 0 / 0.509 GB, free: 1.957 MB / 378.7 MB Notification: Performance of matching and sorting (n=387): time 0.03772/0.3705, allocations: 16.47 MB / 0.5251 GB, free: 1.512 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/0.3705, allocations: 94.44 kB / 0.5252 GB, free: 1.406 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/0.3718, allocations: 1.483 MB / 0.5267 GB, free: 15.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002389/0.3721, allocations: 85.7 kB / 0.5268 GB, free: 15.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006727/0.3727, allocations: 1.428 MB / 0.5282 GB, free: 14.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008672/0.3736, allocations: 1.366 MB / 0.5295 GB, free: 13 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008543/0.3745, allocations: 0.7845 MB / 0.5303 GB, free: 12.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.3746, allocations: 484.8 kB / 0.5307 GB, free: 11.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001665/0.3762, allocations: 0.9178 MB / 0.5316 GB, free: 10.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002075/0.3783, allocations: 2.308 MB / 0.5339 GB, free: 7.906 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004269/0.3826, allocations: 3.714 MB / 0.5375 GB, free: 3.648 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.17e-05/0.3826, allocations: 8 kB / 0.5375 GB, free: 3.641 MB / 410.7 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.009443/0.392, allocations: 4.882 MB / 0.5423 GB, free: 14.75 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.918e-05/0.3921, allocations: 23.98 kB / 0.5423 GB, free: 14.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.896e-05/0.3921, allocations: 28 kB / 0.5423 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007324/0.3994, allocations: 2.276 MB / 0.5445 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002196/0.4016, allocations: 0.8996 MB / 0.5454 GB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1554/0.557, allocations: 18.43 MB / 0.5634 GB, free: 90.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002108/0.5592, allocations: 140 kB / 0.5635 GB, free: 90.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003887/0.5595, allocations: 229.2 kB / 0.5638 GB, free: 90.71 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.0009715/0.5605, allocations: 414.8 kB / 0.5642 GB, free: 90.55 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006926/0.5612, allocations: 391.2 kB / 0.5645 GB, free: 90.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009791/0.571, allocations: 4.863 MB / 0.5693 GB, free: 90.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.343e-05/0.571, allocations: 46.31 kB / 0.5693 GB, free: 90.24 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.326e-05/0.571, allocations: 4.875 kB / 0.5693 GB, free: 90.24 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.831e-05/0.5711, allocations: 20.58 kB / 0.5694 GB, free: 90.24 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01208/0.5832, allocations: 7.374 MB / 0.5766 GB, free: 89.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/0.5832, allocations: 6.781 kB / 0.5766 GB, free: 89.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001583/0.5848, allocations: 0.6562 MB / 0.5772 GB, free: 89.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006084/0.5908, allocations: 2.05 MB / 0.5792 GB, free: 89.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004062/0.5913, allocations: 136.4 kB / 0.5793 GB, free: 89.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01089/0.6021, allocations: 17.68 MB / 0.5966 GB, free: 74.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.6021, allocations: 7.281 kB / 0.5966 GB, free: 74.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01195/0.6141, allocations: 5.663 MB / 0.6021 GB, free: 73.64 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001244/0.6153, allocations: 0.6168 MB / 0.6027 GB, free: 73.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000361/0.6157, allocations: 82.72 kB / 0.6028 GB, free: 73.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/0.6169, allocations: 97.39 kB / 0.6029 GB, free: 73.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006848/0.6176, allocations: 351.4 kB / 0.6032 GB, free: 73.15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002517/0.6179, allocations: 166.4 kB / 0.6034 GB, free: 73.12 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008463/0.6187, allocations: 0.8154 MB / 0.6042 GB, free: 72.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.6187, allocations: 0 / 0.6042 GB, free: 72.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005082/0.6238, allocations: 2.198 MB / 0.6063 GB, free: 72.62 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.003876/0.6277, allocations: 2.347 MB / 0.6086 GB, free: 72.15 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006702/0.6344, allocations: 4.557 MB / 0.6131 GB, free: 68.11 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.6344, allocations: 0 / 0.6131 GB, free: 68.11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00362/0.638, allocations: 3.076 MB / 0.6161 GB, free: 65.31 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002346/0.6404, allocations: 0.6136 MB / 0.6167 GB, free: 64.86 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.008777/0.6491, allocations: 5.899 MB / 0.6225 GB, free: 59.35 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005092/0.6496, allocations: 0.568 MB / 0.623 GB, free: 58.75 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002224/0.6519, allocations: 0.6461 MB / 0.6236 GB, free: 58.31 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009101/0.6528, allocations: 452.1 kB / 0.6241 GB, free: 57.87 MB / 426.7 MB Notification: Performance of SimCode: time 1.834e-06/0.6528, allocations: 0 / 0.6241 GB, free: 57.87 MB / 426.7 MB Notification: Performance of Templates: time 0.08409/0.7369, allocations: 87.55 MB / 0.7096 GB, free: 3.266 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.950817987089977]