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.001279/0.001279, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00143/0.00143, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.349/1.349, allocations: 230.6 MB / 256 MB, free: 8 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.1275/0.1275, allocations: 23.85 MB / 336.3 MB, free: 11.18 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.002157/0.002157, allocations: 67.91 kB / 471.7 MB, free: 7.172 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2744, allocations: 59.86 MB / 0.5191 GB, free: 9.898 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.04063/0.315, allocations: 35.16 MB / 0.5534 GB, free: 5.277 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0575/0.3725, allocations: 47.75 MB / 0.6 GB, free: 7.047 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002602/0.3751, allocations: 51.56 kB / 0.6001 GB, free: 6.996 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003036/0.3781, allocations: 1.016 MB / 0.6011 GB, free: 5.973 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01104/0.3892, allocations: 3.772 MB / 0.6048 GB, free: 2.176 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01686/0.406, allocations: 6.49 MB / 0.6111 GB, free: 11.64 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.007725/0.4138, allocations: 4.535 MB / 0.6155 GB, free: 7.09 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003362/0.4171, allocations: 2.246 MB / 0.6177 GB, free: 4.789 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003375/0.4205, allocations: 2.28 MB / 0.6199 GB, free: 2.504 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004357/0.4249, allocations: 2.621 MB / 0.6225 GB, free: 15.88 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001024/0.4259, allocations: 420 kB / 0.6229 GB, free: 15.46 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01485/0.4407, allocations: 5.359 MB / 0.6281 GB, free: 10.1 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001697/0.4424, allocations: 0.9932 MB / 0.6291 GB, free: 9.102 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003781/0.4462, allocations: 2.026 MB / 0.6311 GB, free: 7.066 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02256/0.4688, allocations: 10.23 MB / 0.6411 GB, free: 12.79 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.4688, allocations: 0 / 0.6411 GB, free: 12.79 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4688, allocations: 0 / 0.6411 GB, free: 12.79 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001588/0.4689, allocations: 0 / 0.6411 GB, free: 12.79 MB / 494.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.011/0.4799, allocations: 4.777 MB / 0.6457 GB, free: 7.957 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.48, allocations: 8.031 kB / 0.6458 GB, free: 7.949 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003719/0.4837, allocations: 0.8488 MB / 0.6466 GB, free: 7.098 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003126/0.4868, allocations: 1.608 MB / 0.6482 GB, free: 5.445 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003036/0.4871, allocations: 361.5 kB / 0.6485 GB, free: 5.066 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000544/0.4877, allocations: 332.2 kB / 0.6488 GB, free: 4.742 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007241/0.4949, allocations: 4.551 MB / 0.6533 GB, free: 124 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.148e-05/0.495, allocations: 0 / 0.6533 GB, free: 124 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000331/0.4953, allocations: 128.1 kB / 0.6534 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-05/0.4954, allocations: 76 kB / 0.6535 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009781/0.5051, allocations: 6.235 MB / 0.6595 GB, free: 9.672 MB / 0.4981 GB 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.0248/0.5299, allocations: 14.09 MB / 0.6733 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009161/0.5391, allocations: 5.41 MB / 0.6786 GB, free: 5.766 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003218/0.5423, allocations: 2.059 MB / 0.6806 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01967/0.562, allocations: 9.648 MB / 0.69 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.36e-05/0.562, allocations: 60.78 kB / 0.6901 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002042/0.5641, allocations: 473.7 kB / 0.6905 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=284): time 9.468e-06/0.5641, allocations: 0 / 0.6905 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=387): time 0.08931/0.6534, allocations: 23.36 MB / 0.7133 GB, free: 1.949 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.092e-05/0.6535, allocations: 94.45 kB / 0.7134 GB, free: 1.844 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002384/0.6559, allocations: 1.724 MB / 0.7151 GB, free: 76 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003506/0.6562, allocations: 85.78 kB / 0.7152 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001037/0.6572, allocations: 1.348 MB / 0.7165 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001345/0.6586, allocations: 1.371 MB / 0.7179 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001401/0.66, allocations: 0.7798 MB / 0.7186 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.6601, allocations: 309 kB / 0.7189 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003327/0.6634, allocations: 1.839 MB / 0.7207 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004255/0.6677, allocations: 2.846 MB / 0.7235 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008147/0.6758, allocations: 4.975 MB / 0.7283 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.266e-05/0.6759, allocations: 8 kB / 0.7284 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.2212/0.8971, allocations: 6.836 MB / 0.735 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.313e-05/0.8971, allocations: 21.48 kB / 0.735 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.507e-05/0.8972, allocations: 29.03 kB / 0.7351 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01066/0.9078, allocations: 2.286 MB / 0.7373 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003597/0.9114, allocations: 0.8985 MB / 0.7382 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02418/0.9356, allocations: 17.7 MB / 0.7555 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00312/0.9387, allocations: 143.1 kB / 0.7556 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007022/0.9394, allocations: 231.7 kB / 0.7558 GB, free: 156.4 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.001642/0.9411, allocations: 0.6025 MB / 0.7564 GB, free: 156 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009004/0.942, allocations: 292.7 kB / 0.7567 GB, free: 156 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01607/0.958, allocations: 6.582 MB / 0.7631 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-05/0.9581, allocations: 41.25 kB / 0.7632 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.586e-05/0.9581, allocations: 5.5 kB / 0.7632 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.801e-05/0.9581, allocations: 25.53 kB / 0.7632 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01988/0.978, allocations: 10.67 MB / 0.7736 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/0.978, allocations: 3.938 kB / 0.7736 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002409/0.9804, allocations: 0.6576 MB / 0.7742 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008283/0.9887, allocations: 2.018 MB / 0.7762 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003216/0.989, allocations: 131.3 kB / 0.7763 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01754/1.007, allocations: 16.33 MB / 0.7923 GB, free: 133.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/1.007, allocations: 3.719 kB / 0.7923 GB, free: 133.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0168/1.023, allocations: 8.517 MB / 0.8006 GB, free: 127.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001401/1.025, allocations: 0.6414 MB / 0.8012 GB, free: 126.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005101/1.025, allocations: 86.61 kB / 0.8013 GB, free: 126.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001909/1.027, allocations: 91.97 kB / 0.8014 GB, free: 126.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006097/1.028, allocations: 353.1 kB / 0.8017 GB, free: 126.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002731/1.028, allocations: 155.9 kB / 0.8019 GB, free: 126.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001237/1.029, allocations: 1.131 MB / 0.803 GB, free: 125 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.029, allocations: 0 / 0.803 GB, free: 125 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005547/1.035, allocations: 2.201 MB / 0.8051 GB, free: 123.1 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.0042/1.039, allocations: 2.26 MB / 0.8074 GB, free: 121.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009798/1.049, allocations: 5.607 MB / 0.8128 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/1.049, allocations: 0 / 0.8128 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005868/1.055, allocations: 3.344 MB / 0.8161 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002866/1.058, allocations: 0.5552 MB / 0.8166 GB, free: 112 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01012/1.068, allocations: 6.77 MB / 0.8232 GB, free: 105.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001252/1.069, allocations: 1.881 MB / 0.8251 GB, free: 103.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002328/1.071, allocations: 0.6726 MB / 0.8257 GB, free: 102.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001065/1.072, allocations: 455.1 kB / 0.8262 GB, free: 102.5 MB / 0.5606 GB Notification: Performance of SimCode: time 7.32e-07/1.072, allocations: 0 / 0.8262 GB, free: 102.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.105/1.177, allocations: 90.77 MB / 0.9148 GB, free: 12.46 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: 8.827035141875967] Failed to read output from testmodel.py, exit status != 0: 1.1864436059258878 1.197018129 0.725192953 Calling exit ...