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.0008938/0.0008938, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001224/0.002118, 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.0009167/0.0009167, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001183/0.0021, 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.906/0.906, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08081/0.9868, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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.1219/0.1219, allocations: 17.35 MB / 261.3 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009945/0.1319, allocations: 6.939 MB / 268.3 MB, free: 6.52 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.142e-06/1.142e-06, allocations: 0 / 269.6 MB, free: 5.23 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.813e-05/1.928e-05, allocations: 2.312 kB / 269.6 MB, free: 5.227 MB / 266.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.1221/0.1221, allocations: 14.19 MB / 283.7 MB, free: 14.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.07361/0.1957, allocations: 47.58 MB / 331.3 MB, free: 4.84 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002899/0.1986, allocations: 47.62 kB / 331.4 MB, free: 4.793 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003003/0.2016, allocations: 0.9611 MB / 332.3 MB, free: 3.824 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01266/0.2143, allocations: 3.781 MB / 336.1 MB, free: 16 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02156/0.2358, allocations: 6.637 MB / 342.7 MB, free: 9.336 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005182/0.241, allocations: 4.655 MB / 347.4 MB, free: 4.668 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00263/0.2436, allocations: 2.349 MB / 349.8 MB, free: 2.242 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003949/0.2476, allocations: 3.351 MB / 353.1 MB, free: 14.84 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002644/0.2502, allocations: 2.136 MB / 355.2 MB, free: 12.7 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009399/0.2512, allocations: 420 kB / 355.6 MB, free: 12.29 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01052/0.2617, allocations: 5.283 MB / 360.9 MB, free: 6.992 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001062/0.2627, allocations: 0.6894 MB / 361.6 MB, free: 6.301 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002233/0.265, allocations: 1.158 MB / 362.8 MB, free: 5.141 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01801/0.283, allocations: 8.494 MB / 371.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.147e-05/0.283, allocations: 4 kB / 371.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.283, allocations: 0 / 371.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001198/0.2831, allocations: 0 / 371.3 MB, free: 12.61 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.007168/0.2903, allocations: 6.055 MB / 377.3 MB, free: 6.496 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.2903, allocations: 12.03 kB / 377.3 MB, free: 6.484 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002474/0.2928, allocations: 1.442 MB / 378.8 MB, free: 5.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001767/0.2946, allocations: 1.221 MB / 380 MB, free: 3.758 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001825/0.2948, allocations: 353.6 kB / 380.4 MB, free: 3.387 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003456/0.2951, allocations: 336.2 kB / 380.7 MB, free: 3.059 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002954/0.2981, allocations: 2.92 MB / 383.6 MB, free: 64 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.036e-05/0.2981, allocations: 192 / 383.6 MB, free: 64 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002003/0.2983, allocations: 132.2 kB / 383.7 MB, free: 15.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.785e-05/0.2983, allocations: 76 kB / 383.8 MB, free: 15.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002645/0.301, allocations: 2.6 MB / 386.4 MB, free: 13.23 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.01201/0.313, allocations: 8.019 MB / 394.4 MB, free: 5.113 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004686/0.3177, allocations: 4.775 MB / 399.2 MB, free: 312 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001146/0.3188, allocations: 0.8769 MB / 400.1 MB, free: 15.42 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01025/0.3291, allocations: 6.686 MB / 406.8 MB, free: 8.699 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.849e-05/0.3291, allocations: 60.8 kB / 406.8 MB, free: 8.629 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001028/0.3301, allocations: 437.9 kB / 407.3 MB, free: 8.199 MB / 394.7 MB Notification: Performance of pre-optimization done (n=284): time 8.816e-06/0.3302, allocations: 0 / 407.3 MB, free: 8.199 MB / 394.7 MB Notification: Performance of matching and sorting (n=387): time 0.03409/0.3643, allocations: 15.38 MB / 422.6 MB, free: 8.668 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.3643, allocations: 90.45 kB / 422.7 MB, free: 8.566 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001152/0.3655, allocations: 1.401 MB / 424.1 MB, free: 7.156 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004292/0.3659, allocations: 85.7 kB / 424.2 MB, free: 7.066 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007693/0.3667, allocations: 1.158 MB / 425.4 MB, free: 5.895 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001136/0.3678, allocations: 1.371 MB / 426.7 MB, free: 4.512 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007759/0.3686, allocations: 0.7639 MB / 427.5 MB, free: 3.734 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.609e-05/0.3686, allocations: 301.1 kB / 427.8 MB, free: 3.438 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008053/0.3694, allocations: 0.588 MB / 428.4 MB, free: 2.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/0.3706, allocations: 1.612 MB / 430 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1462/0.5168, allocations: 2.832 MB / 432.8 MB, free: 78.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.318e-05/0.5168, allocations: 8.25 kB / 432.8 MB, free: 78.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.007203/0.524, allocations: 3.512 MB / 436.3 MB, free: 78.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.138e-05/0.524, allocations: 24.36 kB / 436.4 MB, free: 78.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.17e-05/0.5241, allocations: 29.41 kB / 436.4 MB, free: 78.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005863/0.5299, allocations: 2.222 MB / 438.6 MB, free: 78.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001874/0.5318, allocations: 1.082 MB / 439.7 MB, free: 78.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008391/0.5402, allocations: 12.94 MB / 452.6 MB, free: 68.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/0.5415, allocations: 129.4 kB / 452.8 MB, free: 68.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002207/0.5418, allocations: 183.6 kB / 452.9 MB, free: 68.53 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.0006759/0.5424, allocations: 362 kB / 453.3 MB, free: 68.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000352/0.5428, allocations: 278.4 kB / 453.6 MB, free: 68.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005883/0.5487, allocations: 3.723 MB / 457.3 MB, free: 68.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/0.5487, allocations: 40.22 kB / 457.3 MB, free: 68.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.5487, allocations: 11.19 kB / 457.3 MB, free: 68.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-05/0.5487, allocations: 22.36 kB / 457.4 MB, free: 68.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007511/0.5562, allocations: 5.293 MB / 462.7 MB, free: 67.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.365e-06/0.5562, allocations: 7.125 kB / 462.7 MB, free: 67.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001417/0.5577, allocations: 0.8159 MB / 463.5 MB, free: 67.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006043/0.5583, allocations: 381.7 kB / 463.9 MB, free: 67.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004704/0.563, allocations: 2.01 MB / 465.9 MB, free: 67.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00016/0.5631, allocations: 129.6 kB / 466 MB, free: 67.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007809/0.5709, allocations: 12.34 MB / 478.3 MB, free: 57.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.127e-06/0.5709, allocations: 10.97 kB / 478.3 MB, free: 57.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005636/0.5766, allocations: 4.279 MB / 482.6 MB, free: 56.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002637/0.5768, allocations: 83 kB / 482.7 MB, free: 56.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007441/0.5776, allocations: 84.58 kB / 482.8 MB, free: 56.35 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003578/0.5779, allocations: 350 kB / 483.1 MB, free: 56.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000159/0.5781, allocations: 120.5 kB / 483.2 MB, free: 56.15 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000368/0.5785, allocations: 0.6247 MB / 483.9 MB, free: 56 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.5785, allocations: 0 / 483.9 MB, free: 56 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003406/0.5819, allocations: 2.207 MB / 486.1 MB, free: 54.63 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.002195/0.5841, allocations: 2.465 MB / 488.5 MB, free: 52.92 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002976/0.587, allocations: 3.466 MB / 492 MB, free: 49.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-05/0.5871, allocations: 65.31 kB / 492.1 MB, free: 49.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001681/0.5888, allocations: 2.352 MB / 494.4 MB, free: 47.42 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/0.5901, allocations: 0.9304 MB / 495.3 MB, free: 46.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01769/0.6078, allocations: 5.772 MB / 0.4894 GB, free: 41.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.6081, allocations: 0.5805 MB / 0.4899 GB, free: 40.73 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001385/0.6095, allocations: 0.6255 MB / 0.4906 GB, free: 40.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001228/0.6107, allocations: 0.8359 MB / 0.4914 GB, free: 39.33 MB / 410.7 MB Notification: Performance of SimCode: time 8.62e-07/0.6107, allocations: 0 / 0.4914 GB, free: 39.33 MB / 410.7 MB Notification: Performance of Templates: time 0.0961/0.7068, allocations: 98.8 MB / 0.5879 GB, free: 6.582 MB / 474.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=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.669389467686415]