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.001522/0.001522, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001705/0.001705, allocations: 213.5 kB / 22.25 MB, free: 5.262 MB / 14.72 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 1.425/1.425, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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.1406/0.1406, allocations: 23.89 MB / 336.3 MB, free: 10.95 MB / 270.1 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 71.88 kB / 471.6 MB, free: 6.969 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3203, allocations: 59.85 MB / 0.519 GB, free: 9.832 MB / 382.1 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.07597/0.3963, allocations: 33.43 MB / 0.5517 GB, free: 6.777 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05497/0.4512, allocations: 41.75 MB / 0.5924 GB, free: 14.54 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002492/0.4537, allocations: 47.62 kB / 0.5925 GB, free: 14.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003057/0.4568, allocations: 0.9342 MB / 0.5934 GB, free: 13.55 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01073/0.4675, allocations: 3.713 MB / 0.597 GB, free: 9.816 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01745/0.485, allocations: 6.49 MB / 0.6034 GB, free: 3.289 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007086/0.492, allocations: 4.535 MB / 0.6078 GB, free: 14.73 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002769/0.4948, allocations: 2.207 MB / 0.61 GB, free: 12.47 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002604/0.4974, allocations: 2.291 MB / 0.6122 GB, free: 10.17 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003191/0.5006, allocations: 2.339 MB / 0.6145 GB, free: 7.824 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006619/0.5013, allocations: 420 kB / 0.6149 GB, free: 7.414 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01195/0.5132, allocations: 5.027 MB / 0.6198 GB, free: 2.379 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00107/0.5143, allocations: 0.9932 MB / 0.6208 GB, free: 1.383 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001991/0.5163, allocations: 1.728 MB / 0.6224 GB, free: 15.65 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01877/0.535, allocations: 10.2 MB / 0.6324 GB, free: 5.406 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.5351, allocations: 0 / 0.6324 GB, free: 5.406 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.5351, allocations: 0 / 0.6324 GB, free: 5.406 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.331e-05/0.5351, allocations: 0 / 0.6324 GB, free: 5.406 MB / 478.1 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.009512/0.5446, allocations: 4.761 MB / 0.6371 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.5447, allocations: 12.03 kB / 0.6371 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003656/0.5483, allocations: 0.8452 MB / 0.6379 GB, free: 15.72 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003301/0.5516, allocations: 1.612 MB / 0.6395 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002969/0.5519, allocations: 345.7 kB / 0.6398 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005794/0.5525, allocations: 336.2 kB / 0.6401 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007602/0.5601, allocations: 4.547 MB / 0.6446 GB, free: 8.758 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-05/0.5602, allocations: 3.938 kB / 0.6446 GB, free: 8.754 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003213/0.5605, allocations: 128 kB / 0.6447 GB, free: 8.629 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.069e-05/0.5606, allocations: 76 kB / 0.6448 GB, free: 8.555 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01006/0.5706, allocations: 6.169 MB / 0.6508 GB, free: 2.375 MB / 494.1 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.02401/0.5946, allocations: 11.65 MB / 0.6622 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009479/0.6041, allocations: 5.313 MB / 0.6673 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003422/0.6075, allocations: 2.063 MB / 0.6694 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01999/0.6275, allocations: 9.107 MB / 0.6783 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.492e-05/0.6276, allocations: 64.78 kB / 0.6783 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002141/0.6297, allocations: 454 kB / 0.6787 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=284): time 9.488e-06/0.6297, allocations: 0 / 0.6787 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of matching and sorting (n=387): time 0.09098/0.7207, allocations: 23.36 MB / 0.7016 GB, free: 14.04 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.622e-05/0.7208, allocations: 90.45 kB / 0.7017 GB, free: 13.93 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002215/0.723, allocations: 1.633 MB / 0.7032 GB, free: 12.3 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.00058/0.7236, allocations: 89.7 kB / 0.7033 GB, free: 12.2 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001012/0.7246, allocations: 1.366 MB / 0.7047 GB, free: 10.82 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001462/0.7261, allocations: 1.367 MB / 0.706 GB, free: 9.445 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001241/0.7273, allocations: 0.7837 MB / 0.7068 GB, free: 8.648 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.7274, allocations: 301.1 kB / 0.7071 GB, free: 8.352 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003206/0.7306, allocations: 1.847 MB / 0.7089 GB, free: 6.496 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004409/0.7351, allocations: 2.839 MB / 0.7116 GB, free: 3.227 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008351/0.7434, allocations: 4.979 MB / 0.7165 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.034e-05/0.7434, allocations: 11.94 kB / 0.7165 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.01922/0.7627, allocations: 6.826 MB / 0.7232 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.385e-05/0.7627, allocations: 16 kB / 0.7232 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.216e-05/0.7628, allocations: 28 kB / 0.7232 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01087/0.7736, allocations: 2.284 MB / 0.7254 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003906/0.7775, allocations: 0.9049 MB / 0.7263 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2515/1.029, allocations: 17.38 MB / 0.7433 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003439/1.032, allocations: 143.5 kB / 0.7434 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005402/1.033, allocations: 229.5 kB / 0.7436 GB, free: 162.2 MB / 0.5606 GB 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.00163/1.035, allocations: 0.6095 MB / 0.7442 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008196/1.035, allocations: 275 kB / 0.7445 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01698/1.052, allocations: 6.565 MB / 0.7509 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-05/1.052, allocations: 42.03 kB / 0.751 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.099e-05/1.052, allocations: 4.812 kB / 0.751 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-05/1.053, allocations: 20.86 kB / 0.751 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02201/1.075, allocations: 9.768 MB / 0.7605 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.981e-05/1.075, allocations: 4.594 kB / 0.7605 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002945/1.078, allocations: 0.6516 MB / 0.7612 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008804/1.086, allocations: 2.012 MB / 0.7631 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005171/1.087, allocations: 135.6 kB / 0.7633 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0176/1.104, allocations: 16.02 MB / 0.7789 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.104, allocations: 7.875 kB / 0.7789 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01674/1.121, allocations: 8.502 MB / 0.7872 GB, free: 138.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001478/1.123, allocations: 0.6235 MB / 0.7878 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004174/1.123, allocations: 78.88 kB / 0.7879 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001756/1.125, allocations: 96.64 kB / 0.788 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005782/1.125, allocations: 354.1 kB / 0.7883 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002426/1.126, allocations: 158.7 kB / 0.7885 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001017/1.127, allocations: 1.033 MB / 0.7895 GB, free: 136.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.127, allocations: 2.656 kB / 0.7895 GB, free: 136.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004913/1.132, allocations: 2.198 MB / 0.7916 GB, free: 135.7 MB / 0.5606 GB 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.003114/1.135, allocations: 2.26 MB / 0.7938 GB, free: 134.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0082/1.143, allocations: 5.604 MB / 0.7993 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/1.143, allocations: 0 / 0.7993 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00471/1.148, allocations: 3.345 MB / 0.8026 GB, free: 125.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00233/1.15, allocations: 0.5414 MB / 0.8031 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009156/1.159, allocations: 6.773 MB / 0.8097 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009789/1.16, allocations: 1.332 MB / 0.811 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00239/1.162, allocations: 0.6648 MB / 0.8117 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009599/1.163, allocations: 451.1 kB / 0.8121 GB, free: 115.7 MB / 0.5606 GB Notification: Performance of SimCode: time 7.21e-07/1.163, allocations: 0 / 0.8121 GB, free: 115.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.09322/1.257, allocations: 90.34 MB / 0.9003 GB, free: 26.41 MB / 0.5606 GB " [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=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.217296451330185] Failed to read output from testmodel.py, exit status != 0: 1.265093194320798 1.273315285 0.736037623 Calling exit ...