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.0009866/0.0009866, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001066/0.001066, allocations: 181 kB / 23.36 MB, free: 1.133 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.9815/0.9815, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.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.09401/0.09401, allocations: 17.39 MB / 277.6 MB, free: 11.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 2.475e-06/2.475e-06, allocations: 1.375 kB / 300.7 MB, free: 1.824 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.74e-05/2.988e-05, allocations: 4.703 kB / 300.7 MB, free: 1.82 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.05117/0.0512, allocations: 43.55 MB / 344.2 MB, free: 8.98 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0414/0.0926, allocations: 47.23 MB / 391.5 MB, free: 9.57 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002448/0.09505, allocations: 47.62 kB / 391.5 MB, free: 9.523 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003316/0.09836, allocations: 0.9649 MB / 392.5 MB, free: 8.551 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008706/0.1071, allocations: 3.789 MB / 396.3 MB, free: 4.734 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01473/0.1218, allocations: 6.649 MB / 402.9 MB, free: 14.04 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00594/0.1277, allocations: 4.681 MB / 407.6 MB, free: 9.344 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003586/0.1313, allocations: 2.356 MB / 409.9 MB, free: 6.91 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005419/0.1367, allocations: 3.128 MB / 413.1 MB, free: 3.777 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003432/0.1402, allocations: 2.128 MB / 415.2 MB, free: 1.645 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001368/0.1415, allocations: 423.9 kB / 415.6 MB, free: 1.23 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01395/0.1555, allocations: 5.255 MB / 420.9 MB, free: 11.96 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001899/0.1574, allocations: 1.005 MB / 421.9 MB, free: 10.96 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003141/0.1605, allocations: 1.501 MB / 423.4 MB, free: 9.453 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01912/0.1796, allocations: 9.365 MB / 432.7 MB, free: 52 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1797, allocations: 0 / 432.7 MB, free: 52 kB / 394.7 MB Notification: Performance of FrontEnd: time 1.083e-06/0.1797, allocations: 0 / 432.7 MB, free: 52 kB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001261/0.1798, allocations: 0 / 432.7 MB, free: 52 kB / 394.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.007051/0.1868, allocations: 4.704 MB / 437.4 MB, free: 11.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.1869, allocations: 8.031 kB / 437.4 MB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003237/0.1901, allocations: 1.366 MB / 438.8 MB, free: 9.914 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002381/0.1925, allocations: 1.233 MB / 440 MB, free: 8.641 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002434/0.1927, allocations: 349.7 kB / 440.4 MB, free: 8.273 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004847/0.1932, allocations: 324.3 kB / 440.7 MB, free: 7.957 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004299/0.1975, allocations: 2.923 MB / 443.6 MB, free: 4.957 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.529e-05/0.1976, allocations: 8.188 kB / 443.6 MB, free: 4.949 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002625/0.1978, allocations: 128.1 kB / 443.8 MB, free: 4.824 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-05/0.1979, allocations: 76 kB / 443.8 MB, free: 4.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004144/0.202, allocations: 2.6 MB / 446.4 MB, free: 2.125 MB / 410.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.1689/0.3709, allocations: 7.985 MB / 454.4 MB, free: 73.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006934/0.3779, allocations: 4.765 MB / 459.2 MB, free: 72.86 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001229/0.3791, allocations: 0.8757 MB / 460.1 MB, free: 72.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01243/0.3915, allocations: 6.914 MB / 467 MB, free: 72.33 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.835e-05/0.3916, allocations: 61.11 kB / 467 MB, free: 72.29 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001257/0.3928, allocations: 451.2 kB / 467.5 MB, free: 72.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=284): time 9.568e-06/0.3928, allocations: 0 / 467.5 MB, free: 72.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=387): time 0.0368/0.4296, allocations: 15.34 MB / 482.8 MB, free: 71.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.4297, allocations: 93.7 kB / 482.9 MB, free: 71.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.4308, allocations: 1.392 MB / 484.3 MB, free: 70.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002776/0.431, allocations: 89.98 kB / 484.4 MB, free: 70.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000356/0.4314, allocations: 1.155 MB / 485.5 MB, free: 70.33 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007276/0.4321, allocations: 1.371 MB / 486.9 MB, free: 69.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007911/0.4329, allocations: 0.7673 MB / 487.7 MB, free: 69.53 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.839e-05/0.4329, allocations: 301.1 kB / 488 MB, free: 69.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007901/0.4337, allocations: 0.5978 MB / 488.6 MB, free: 69.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009985/0.4347, allocations: 1.601 MB / 490.2 MB, free: 67.31 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002285/0.437, allocations: 2.851 MB / 493 MB, free: 64.33 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.13e-05/0.437, allocations: 8 kB / 493 MB, free: 64.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.006288/0.4433, allocations: 3.502 MB / 496.5 MB, free: 61.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.4433, allocations: 17.56 kB / 496.6 MB, free: 61.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-05/0.4434, allocations: 32.55 kB / 496.6 MB, free: 61.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005808/0.4492, allocations: 2.223 MB / 498.8 MB, free: 59.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001936/0.4511, allocations: 0.9912 MB / 499.8 MB, free: 58.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009318/0.4604, allocations: 12.91 MB / 0.5007 GB, free: 45.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001927/0.4624, allocations: 129.2 kB / 0.5008 GB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003588/0.4627, allocations: 184.9 kB / 0.501 GB, free: 45.4 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.0008661/0.4636, allocations: 366.6 kB / 0.5013 GB, free: 45.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004769/0.4641, allocations: 279.1 kB / 0.5016 GB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00764/0.4717, allocations: 3.73 MB / 0.5053 GB, free: 41.85 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-05/0.4717, allocations: 40 kB / 0.5053 GB, free: 41.81 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.565e-05/0.4717, allocations: 8 kB / 0.5053 GB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.092e-05/0.4718, allocations: 19.92 kB / 0.5053 GB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01085/0.4826, allocations: 5.295 MB / 0.5105 GB, free: 37.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.466e-05/0.4826, allocations: 10.67 kB / 0.5105 GB, free: 37.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002081/0.4847, allocations: 0.716 MB / 0.5112 GB, free: 36.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006839/0.4916, allocations: 2.001 MB / 0.5132 GB, free: 34.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003993/0.492, allocations: 129.7 kB / 0.5133 GB, free: 34.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009569/0.5015, allocations: 12.34 MB / 0.5253 GB, free: 22.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.5015, allocations: 4 kB / 0.5253 GB, free: 22.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00816/0.5097, allocations: 4.276 MB / 0.5295 GB, free: 17.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00106/0.5107, allocations: 374 kB / 0.5299 GB, free: 17.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003391/0.5111, allocations: 80 kB / 0.5299 GB, free: 17.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/0.5122, allocations: 90.67 kB / 0.53 GB, free: 17.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006229/0.5129, allocations: 346.4 kB / 0.5304 GB, free: 17.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002463/0.5131, allocations: 127.9 kB / 0.5305 GB, free: 16.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000547/0.5137, allocations: 0.6267 MB / 0.5311 GB, free: 16.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.5137, allocations: 0 / 0.5311 GB, free: 16.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004771/0.5184, allocations: 2.201 MB / 0.5332 GB, free: 14.14 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.003255/0.5217, allocations: 2.454 MB / 0.5356 GB, free: 12.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004545/0.5262, allocations: 3.473 MB / 0.539 GB, free: 8.762 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.9e-05/0.5263, allocations: 31.84 kB / 0.5391 GB, free: 8.727 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002623/0.5289, allocations: 2.353 MB / 0.5414 GB, free: 6.422 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0019/0.5308, allocations: 0.6068 MB / 0.5419 GB, free: 5.887 MB / 410.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006108/0.5369, allocations: 5.566 MB / 0.5474 GB, free: 360 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00044/0.5373, allocations: 0.5622 MB / 0.5479 GB, free: 15.76 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001715/0.5391, allocations: 0.6314 MB / 0.5485 GB, free: 15.33 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001522/0.5406, allocations: 0.8268 MB / 0.5494 GB, free: 14.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.724e-06/0.5406, allocations: 0 / 0.5494 GB, free: 14.5 MB / 426.7 MB Notification: Performance of Templates: time 0.225/0.7656, allocations: 97.51 MB / 0.6446 GB, free: 117.9 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.9161659916862845]