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.0009482/0.0009482, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.000997/0.000997, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9383/0.9383, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.09697/0.09697, allocations: 17.38 MB / 278.4 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.643e-06/1.643e-06, allocations: 0 / 354.7 MB, free: 9.688 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.331e-05/2.496e-05, allocations: 2.312 kB / 354.7 MB, free: 9.684 MB / 282.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.03282/0.03285, allocations: 37.68 MB / 392.4 MB, free: 4.102 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.1747/0.2075, allocations: 46.51 MB / 438.9 MB, free: 31.35 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001433/0.2089, allocations: 47.97 kB / 438.9 MB, free: 31.33 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001473/0.2104, allocations: 0.9453 MB / 439.9 MB, free: 30.82 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006425/0.2168, allocations: 3.85 MB / 443.7 MB, free: 28.38 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01314/0.23, allocations: 6.684 MB / 450.4 MB, free: 23.3 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003894/0.2339, allocations: 4.68 MB / 455.1 MB, free: 20.47 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001907/0.2358, allocations: 2.322 MB / 457.4 MB, free: 18.73 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002361/0.2381, allocations: 3.159 MB / 460.6 MB, free: 15.56 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001986/0.2401, allocations: 2.157 MB / 462.7 MB, free: 13.41 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006254/0.2407, allocations: 420 kB / 463.1 MB, free: 13 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009572/0.2503, allocations: 5.06 MB / 468.2 MB, free: 7.926 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004913/0.2508, allocations: 1.005 MB / 469.2 MB, free: 6.918 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001225/0.252, allocations: 1.509 MB / 470.7 MB, free: 5.406 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01503/0.2671, allocations: 9.354 MB / 480.1 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2671, allocations: 2.656 kB / 480.1 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.2671, allocations: 0 / 480.1 MB, free: 12.02 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001015/0.2672, allocations: 4 kB / 480.1 MB, free: 12.01 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.006377/0.2736, allocations: 4.898 MB / 485 MB, free: 7.082 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.2736, allocations: 8.031 kB / 485 MB, free: 7.074 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002732/0.2763, allocations: 1.426 MB / 486.4 MB, free: 5.645 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002098/0.2784, allocations: 1.626 MB / 488 MB, free: 3.984 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001724/0.2786, allocations: 349.7 kB / 488.4 MB, free: 3.617 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000374/0.279, allocations: 332.2 kB / 488.7 MB, free: 3.293 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00307/0.282, allocations: 2.911 MB / 491.6 MB, free: 304 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.041e-05/0.2821, allocations: 4.125 kB / 491.6 MB, free: 300 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002316/0.2823, allocations: 124.4 kB / 491.7 MB, free: 176 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-05/0.2824, allocations: 79.94 kB / 491.8 MB, free: 96 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003638/0.286, allocations: 3.016 MB / 494.8 MB, free: 13.06 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.01227/0.2983, allocations: 10.17 MB / 0.4932 GB, free: 2.805 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005208/0.3035, allocations: 5.023 MB / 0.4981 GB, free: 13.83 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/0.3045, allocations: 1.018 MB / 0.4991 GB, free: 12.81 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01274/0.3172, allocations: 7.891 MB / 0.5068 GB, free: 4.902 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.482e-05/0.3173, allocations: 63.62 kB / 0.5068 GB, free: 4.828 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001216/0.3185, allocations: 437.9 kB / 0.5072 GB, free: 4.406 MB / 378.7 MB Notification: Performance of pre-optimization done (n=284): time 5.68e-06/0.3185, allocations: 2.656 kB / 0.5072 GB, free: 4.406 MB / 378.7 MB Notification: Performance of matching and sorting (n=387): time 0.04255/0.361, allocations: 14.82 MB / 0.5217 GB, free: 5.621 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.836e-05/0.3611, allocations: 90.45 kB / 0.5218 GB, free: 5.52 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/0.3624, allocations: 1.466 MB / 0.5232 GB, free: 4.039 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002081/0.3626, allocations: 93.7 kB / 0.5233 GB, free: 3.941 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008931/0.3635, allocations: 1.428 MB / 0.5247 GB, free: 2.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009802/0.3645, allocations: 1.379 MB / 0.5261 GB, free: 1.109 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00115/0.3657, allocations: 0.7998 MB / 0.5268 GB, free: 300 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.3658, allocations: 476.8 kB / 0.5273 GB, free: 15.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001226/0.367, allocations: 0.7134 MB / 0.528 GB, free: 15.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001711/0.3687, allocations: 2.102 MB / 0.53 GB, free: 12.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003095/0.3718, allocations: 3.342 MB / 0.5333 GB, free: 8.527 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.27e-05/0.3718, allocations: 12 kB / 0.5333 GB, free: 8.516 MB / 410.7 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.008262/0.3801, allocations: 4.39 MB / 0.5376 GB, free: 4.113 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.948e-05/0.3801, allocations: 26.91 kB / 0.5376 GB, free: 4.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.918e-05/0.3802, allocations: 28 kB / 0.5377 GB, free: 4.062 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006673/0.3868, allocations: 2.231 MB / 0.5398 GB, free: 1.867 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001759/0.3886, allocations: 0.8997 MB / 0.5407 GB, free: 0.9688 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1491/0.5377, allocations: 18.06 MB / 0.5584 GB, free: 93.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002071/0.5397, allocations: 129.7 kB / 0.5585 GB, free: 93.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003077/0.54, allocations: 198.9 kB / 0.5587 GB, free: 93.92 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.0008951/0.5409, allocations: 409.6 kB / 0.5591 GB, free: 93.76 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006121/0.5415, allocations: 393.8 kB / 0.5594 GB, free: 93.76 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007875/0.5494, allocations: 4.419 MB / 0.5637 GB, free: 93.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-05/0.5494, allocations: 41.16 kB / 0.5638 GB, free: 93.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-05/0.5495, allocations: 6.594 kB / 0.5638 GB, free: 93.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.219e-05/0.5495, allocations: 20.53 kB / 0.5638 GB, free: 93.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009812/0.5593, allocations: 6.653 MB / 0.5703 GB, free: 92.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.357e-06/0.5593, allocations: 7.531 kB / 0.5703 GB, free: 92.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001336/0.5607, allocations: 0.6557 MB / 0.571 GB, free: 92.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005539/0.5662, allocations: 1.997 MB / 0.5729 GB, free: 92.55 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002362/0.5664, allocations: 137.5 kB / 0.573 GB, free: 92.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009415/0.5758, allocations: 17.35 MB / 0.59 GB, free: 77.94 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.5759, allocations: 10.12 kB / 0.59 GB, free: 77.94 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007316/0.5832, allocations: 5.029 MB / 0.5949 GB, free: 77.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008728/0.584, allocations: 0.6068 MB / 0.5955 GB, free: 76.87 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002646/0.5843, allocations: 81.97 kB / 0.5956 GB, free: 76.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008776/0.5852, allocations: 90 kB / 0.5957 GB, free: 76.87 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005126/0.5857, allocations: 353 kB / 0.596 GB, free: 76.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002195/0.5859, allocations: 137.4 kB / 0.5961 GB, free: 76.86 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000538/0.5865, allocations: 0.7561 MB / 0.5969 GB, free: 76.71 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.5865, allocations: 0 / 0.5969 GB, free: 76.71 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004326/0.5908, allocations: 2.205 MB / 0.599 GB, free: 76.71 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.002993/0.5938, allocations: 2.458 MB / 0.6014 GB, free: 76.62 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004206/0.598, allocations: 4.137 MB / 0.6055 GB, free: 74.27 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.598, allocations: 0 / 0.6055 GB, free: 74.27 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002177/0.6002, allocations: 2.876 MB / 0.6083 GB, free: 71.84 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/0.6015, allocations: 0.6253 MB / 0.6089 GB, free: 71.57 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.005632/0.6072, allocations: 5.729 MB / 0.6145 GB, free: 66.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/0.6076, allocations: 0.5637 MB / 0.615 GB, free: 66.25 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001395/0.609, allocations: 0.632 MB / 0.6156 GB, free: 65.91 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001369/0.6103, allocations: 0.9161 MB / 0.6165 GB, free: 65.16 MB / 426.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6103, allocations: 0 / 0.6165 GB, free: 65.16 MB / 426.7 MB Notification: Performance of Templates: time 0.0861/0.6964, allocations: 99.31 MB / 0.7135 GB, free: 15.16 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.979640567675233]