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.0008467/0.0008467, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001026/0.001873, allocations: 440 kB / 10.41 MB, free: 284 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.0007737/0.0007737, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001343/0.002117, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9527/0.9527, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09155/1.044, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.07991/0.07991, allocations: 17.35 MB / 261.5 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01012/0.09003, allocations: 6.933 MB / 268.4 MB, free: 6.418 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.7 MB, free: 5.109 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.149e-05/1.263e-05, allocations: 6.312 kB / 269.8 MB, free: 5.102 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.1339/0.1339, allocations: 14.21 MB / 284 MB, free: 14.12 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.04037/0.1743, allocations: 47.57 MB / 331.5 MB, free: 4.668 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002385/0.1767, allocations: 51.62 kB / 331.6 MB, free: 4.617 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001841/0.1785, allocations: 0.965 MB / 332.5 MB, free: 3.645 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008502/0.187, allocations: 3.777 MB / 336.3 MB, free: 15.84 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01377/0.2008, allocations: 6.649 MB / 343 MB, free: 9.148 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005153/0.206, allocations: 4.646 MB / 347.6 MB, free: 4.488 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002793/0.2087, allocations: 2.353 MB / 350 MB, free: 2.059 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004099/0.2128, allocations: 3.351 MB / 353.3 MB, free: 14.65 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002712/0.2156, allocations: 2.132 MB / 355.5 MB, free: 12.52 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009855/0.2165, allocations: 420 kB / 355.9 MB, free: 12.11 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01315/0.2297, allocations: 5.291 MB / 361.2 MB, free: 6.805 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001319/0.231, allocations: 0.6855 MB / 361.8 MB, free: 6.117 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002036/0.233, allocations: 1.158 MB / 363 MB, free: 4.957 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01521/0.2483, allocations: 8.49 MB / 371.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.502e-05/0.2483, allocations: 3.984 kB / 371.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2483, allocations: 0 / 371.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.838e-05/0.2483, allocations: 4 kB / 371.5 MB, free: 12.43 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.005966/0.2543, allocations: 6.051 MB / 377.5 MB, free: 6.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.2543, allocations: 8.031 kB / 377.6 MB, free: 6.312 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002345/0.2567, allocations: 1.438 MB / 379 MB, free: 4.852 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001477/0.2582, allocations: 1.225 MB / 380.2 MB, free: 3.586 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001597/0.2583, allocations: 349.6 kB / 380.6 MB, free: 3.219 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003341/0.2587, allocations: 336.2 kB / 380.9 MB, free: 2.891 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002556/0.2612, allocations: 2.923 MB / 383.8 MB, free: 15.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.934e-05/0.2613, allocations: 192 / 383.8 MB, free: 15.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002014/0.2615, allocations: 136.1 kB / 383.9 MB, free: 15.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-05/0.2615, allocations: 76 kB / 384 MB, free: 15.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002592/0.2641, allocations: 2.597 MB / 386.6 MB, free: 13.06 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.009621/0.2737, allocations: 8.016 MB / 394.6 MB, free: 4.941 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004451/0.2782, allocations: 4.779 MB / 399.4 MB, free: 132 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008636/0.279, allocations: 0.877 MB / 400.3 MB, free: 15.25 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008702/0.2877, allocations: 6.682 MB / 407 MB, free: 8.531 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.2878, allocations: 64.8 kB / 407 MB, free: 8.457 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008173/0.2886, allocations: 445.9 kB / 407.5 MB, free: 8.02 MB / 394.7 MB Notification: Performance of pre-optimization done (n=284): time 4.569e-06/0.2886, allocations: 0 / 407.5 MB, free: 8.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=379): time 0.03539/0.324, allocations: 18.28 MB / 425.7 MB, free: 5.641 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.324, allocations: 90.39 kB / 425.8 MB, free: 5.539 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008488/0.3249, allocations: 1.39 MB / 427.2 MB, free: 4.141 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001517/0.325, allocations: 89.7 kB / 427.3 MB, free: 4.047 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004328/0.3255, allocations: 1.158 MB / 428.5 MB, free: 2.875 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006288/0.3261, allocations: 1.344 MB / 429.8 MB, free: 1.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006923/0.3268, allocations: 0.7597 MB / 430.6 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.348e-05/0.3268, allocations: 309.1 kB / 430.9 MB, free: 452 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.146/0.4729, allocations: 0.5779 MB / 431.4 MB, free: 81.65 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001829/0.4747, allocations: 1.588 MB / 433 MB, free: 80.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003476/0.4782, allocations: 2.897 MB / 435.9 MB, free: 79.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-05/0.4782, allocations: 8.188 kB / 435.9 MB, free: 79.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.0081/0.4863, allocations: 3.506 MB / 439.4 MB, free: 79.19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.196e-05/0.4864, allocations: 20.78 kB / 439.5 MB, free: 79.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.247e-05/0.4864, allocations: 31.16 kB / 439.5 MB, free: 79.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006152/0.4926, allocations: 2.22 MB / 441.7 MB, free: 79.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002365/0.4949, allocations: 1.07 MB / 442.8 MB, free: 79.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01037/0.5053, allocations: 12.94 MB / 455.7 MB, free: 69.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003159/0.5084, allocations: 126.9 kB / 455.9 MB, free: 69.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008225/0.5093, allocations: 186.2 kB / 456 MB, free: 69.22 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 (461): * Single equations (assignments): 452 * 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%), (1,3,100.0%), (2,6,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.0009557/0.5102, allocations: 365.7 kB / 456.4 MB, free: 69.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004788/0.5107, allocations: 276.7 kB / 456.7 MB, free: 69.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006002/0.5167, allocations: 3.669 MB / 460.3 MB, free: 68.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.921e-05/0.5167, allocations: 40.84 kB / 460.4 MB, free: 68.76 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.386e-05/0.5167, allocations: 7.906 kB / 460.4 MB, free: 68.76 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.741e-05/0.5168, allocations: 19.88 kB / 460.4 MB, free: 68.76 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008976/0.5257, allocations: 5.23 MB / 465.6 MB, free: 68.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/0.5258, allocations: 7.625 kB / 465.6 MB, free: 68.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001919/0.5277, allocations: 0.7948 MB / 466.4 MB, free: 68.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008157/0.5285, allocations: 377.4 kB / 466.8 MB, free: 68.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006305/0.5348, allocations: 2.019 MB / 468.8 MB, free: 67.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002058/0.535, allocations: 126.2 kB / 468.9 MB, free: 67.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009002/0.544, allocations: 12.36 MB / 481.3 MB, free: 58.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.074e-06/0.544, allocations: 3.812 kB / 481.3 MB, free: 58.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007267/0.5513, allocations: 4.26 MB / 485.6 MB, free: 56.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003096/0.5516, allocations: 80.19 kB / 485.6 MB, free: 56.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/0.5526, allocations: 94.94 kB / 485.7 MB, free: 56.72 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005094/0.5531, allocations: 341.3 kB / 486.1 MB, free: 56.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001977/0.5533, allocations: 122.3 kB / 486.2 MB, free: 56.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000457/0.5538, allocations: 0.6231 MB / 486.8 MB, free: 55.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.5538, allocations: 0 / 486.8 MB, free: 55.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00436/0.5581, allocations: 2.193 MB / 489 MB, free: 54.18 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 (346): * Single equations (assignments): 337 * 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,2), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002902/0.561, allocations: 2.466 MB / 491.5 MB, free: 52.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003997/0.565, allocations: 3.494 MB / 495 MB, free: 49.15 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.935e-05/0.5651, allocations: 68.06 kB / 495 MB, free: 49.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002563/0.5677, allocations: 2.626 MB / 497.7 MB, free: 46.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002158/0.5698, allocations: 3.222 MB / 0.4891 GB, free: 43.15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02153/0.5914, allocations: 5.725 MB / 0.4947 GB, free: 37.83 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.5917, allocations: 0.5688 MB / 0.4953 GB, free: 37.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001182/0.5928, allocations: 0.6287 MB / 0.4959 GB, free: 36.63 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001207/0.594, allocations: 0.8312 MB / 0.4967 GB, free: 35.83 MB / 410.7 MB Notification: Performance of SimCode: time 1.052e-06/0.594, allocations: 0 / 0.4967 GB, free: 35.83 MB / 410.7 MB Notification: Performance of Templates: time 0.2128/0.8068, allocations: 98.12 MB / 0.5925 GB, free: 120.4 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=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 19.07278988417238]