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.0009915/0.0009915, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0012/0.0012, allocations: 169 kB / 23.27 MB, free: 1.223 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.9265/0.9265, allocations: 177.2 MB / 203.7 MB, free: 5.512 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.1033/0.1033, allocations: 17.39 MB / 277.6 MB, free: 11.49 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.262e-06/1.262e-06, allocations: 3.938 kB / 353.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.958e-05/2.084e-05, allocations: 2.312 kB / 353.9 MB, free: 10.7 MB / 330.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.03277/0.03279, allocations: 37.7 MB / 391.6 MB, free: 5.074 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.03736/0.07014, allocations: 46.51 MB / 438.1 MB, free: 6.387 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002143/0.07229, allocations: 55.56 kB / 438.2 MB, free: 6.332 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002076/0.07436, allocations: 0.9339 MB / 439.1 MB, free: 5.391 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009089/0.08345, allocations: 3.847 MB / 443 MB, free: 1.516 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1688/0.2522, allocations: 6.683 MB / 449.6 MB, free: 65.96 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004783/0.257, allocations: 4.695 MB / 454.3 MB, free: 64.83 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002608/0.2596, allocations: 2.318 MB / 456.7 MB, free: 64.65 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003789/0.2634, allocations: 3.157 MB / 459.8 MB, free: 64.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002923/0.2663, allocations: 2.142 MB / 462 MB, free: 64.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001074/0.2674, allocations: 420.6 kB / 462.4 MB, free: 64.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01212/0.2795, allocations: 5.076 MB / 467.4 MB, free: 64.12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001214/0.2808, allocations: 1.003 MB / 468.5 MB, free: 63.99 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002536/0.2833, allocations: 1.507 MB / 470 MB, free: 63.61 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01983/0.3031, allocations: 9.356 MB / 479.3 MB, free: 60.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3031, allocations: 0 / 479.3 MB, free: 60.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3031, allocations: 1.469 kB / 479.3 MB, free: 60.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001612/0.3033, allocations: 0 / 479.3 MB, free: 60.25 MB / 410.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.007941/0.3112, allocations: 4.892 MB / 484.2 MB, free: 57.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.3113, allocations: 9.844 kB / 484.2 MB, free: 57.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003066/0.3143, allocations: 1.428 MB / 485.6 MB, free: 57.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002515/0.3169, allocations: 1.627 MB / 487.3 MB, free: 56.28 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001651/0.317, allocations: 345.7 kB / 487.6 MB, free: 56.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003756/0.3174, allocations: 328.4 kB / 487.9 MB, free: 55.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003555/0.321, allocations: 2.912 MB / 490.8 MB, free: 55.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.556e-05/0.321, allocations: 2.844 kB / 490.8 MB, free: 55.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002157/0.3212, allocations: 126.2 kB / 491 MB, free: 55.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.318e-05/0.3213, allocations: 81.97 kB / 491 MB, free: 55.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004004/0.3253, allocations: 3.013 MB / 494.1 MB, free: 54.9 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.01296/0.3382, allocations: 10.18 MB / 0.4924 GB, free: 49.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004656/0.3429, allocations: 5.02 MB / 0.4973 GB, free: 48.92 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000986/0.3439, allocations: 1.02 MB / 0.4983 GB, free: 48.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009934/0.3538, allocations: 7.996 MB / 0.5061 GB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.3538, allocations: 67.62 kB / 0.5062 GB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001104/0.355, allocations: 441.6 kB / 0.5066 GB, free: 41.76 MB / 410.7 MB Notification: Performance of pre-optimization done (n=284): time 8.406e-06/0.355, allocations: 0 / 0.5066 GB, free: 41.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=387): time 0.0318/0.3868, allocations: 14.84 MB / 0.5211 GB, free: 27.81 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.3868, allocations: 90.45 kB / 0.5212 GB, free: 27.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.3878, allocations: 1.471 MB / 0.5226 GB, free: 26.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001943/0.388, allocations: 89.7 kB / 0.5227 GB, free: 26.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004414/0.3884, allocations: 1.426 MB / 0.5241 GB, free: 25.03 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006238/0.3891, allocations: 1.374 MB / 0.5254 GB, free: 23.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007185/0.3898, allocations: 0.8028 MB / 0.5262 GB, free: 23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.007e-05/0.3898, allocations: 480.8 kB / 0.5267 GB, free: 22.53 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007797/0.3906, allocations: 0.7108 MB / 0.5274 GB, free: 21.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001181/0.3918, allocations: 2.105 MB / 0.5294 GB, free: 19.22 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002413/0.3942, allocations: 3.329 MB / 0.5327 GB, free: 15.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.505e-05/0.3942, allocations: 14.59 kB / 0.5327 GB, free: 15.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.007359/0.4016, allocations: 4.424 MB / 0.537 GB, free: 11.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.612e-05/0.4016, allocations: 22.59 kB / 0.537 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.761e-05/0.4016, allocations: 28 kB / 0.5371 GB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006128/0.4078, allocations: 2.226 MB / 0.5392 GB, free: 9.129 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002093/0.4099, allocations: 0.8898 MB / 0.5401 GB, free: 8.293 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01287/0.4227, allocations: 18.09 MB / 0.5578 GB, free: 5.633 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002445/0.4252, allocations: 130.7 kB / 0.5579 GB, free: 5.508 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003417/0.4255, allocations: 195.9 kB / 0.5581 GB, free: 5.316 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.0008802/0.4264, allocations: 407.1 kB / 0.5585 GB, free: 4.965 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006875/0.4271, allocations: 390.3 kB / 0.5589 GB, free: 4.582 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007452/0.4345, allocations: 4.448 MB / 0.5632 GB, free: 264 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.107e-05/0.4346, allocations: 40 kB / 0.5632 GB, free: 224 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.4346, allocations: 6.656 kB / 0.5632 GB, free: 220 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.82e-05/0.4346, allocations: 23.92 kB / 0.5633 GB, free: 196 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01104/0.4456, allocations: 6.704 MB / 0.5698 GB, free: 9.742 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.4457, allocations: 4 kB / 0.5698 GB, free: 9.738 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001517/0.4472, allocations: 0.6617 MB / 0.5705 GB, free: 9.113 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005919/0.4531, allocations: 1.999 MB / 0.5724 GB, free: 7.168 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005033/0.4536, allocations: 139.9 kB / 0.5725 GB, free: 7.031 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01239/0.466, allocations: 17.35 MB / 0.5895 GB, free: 5.094 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.466, allocations: 13.69 kB / 0.5895 GB, free: 5.086 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008625/0.4746, allocations: 5.043 MB / 0.5944 GB, free: 28 kB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1634/0.638, allocations: 0.6067 MB / 0.595 GB, free: 103.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005114/0.6385, allocations: 83.03 kB / 0.5951 GB, free: 103.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00138/0.6399, allocations: 86.59 kB / 0.5952 GB, free: 103.9 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006614/0.6406, allocations: 358.7 kB / 0.5955 GB, free: 103.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002954/0.6409, allocations: 131.7 kB / 0.5957 GB, free: 103.9 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007605/0.6416, allocations: 0.7606 MB / 0.5964 GB, free: 103.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.6416, allocations: 0 / 0.5964 GB, free: 103.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00598/0.6476, allocations: 2.204 MB / 0.5986 GB, free: 103.8 MB / 458.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.004446/0.6521, allocations: 2.454 MB / 0.6009 GB, free: 103.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005465/0.6575, allocations: 4.138 MB / 0.605 GB, free: 102.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/0.6575, allocations: 0 / 0.605 GB, free: 102.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002897/0.6604, allocations: 2.875 MB / 0.6078 GB, free: 101.1 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002181/0.6626, allocations: 0.6215 MB / 0.6084 GB, free: 101.1 MB / 458.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007927/0.6705, allocations: 5.723 MB / 0.614 GB, free: 98.72 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005436/0.6711, allocations: 0.57 MB / 0.6145 GB, free: 98.6 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001972/0.6731, allocations: 0.6279 MB / 0.6152 GB, free: 98.57 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00156/0.6746, allocations: 0.9231 MB / 0.6161 GB, free: 98.5 MB / 458.7 MB Notification: Performance of SimCode: time 1.774e-06/0.6746, allocations: 0 / 0.6161 GB, free: 98.5 MB / 458.7 MB Notification: Performance of Templates: time 0.08861/0.7632, allocations: 97.77 MB / 0.7115 GB, free: 31.06 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: 5.781829649116844]