Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.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.00132/0.00132, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001412/0.001412, allocations: 211.4 kB / 22.99 MB, free: 4.984 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.41/1.41, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.1374/0.1374, allocations: 23.89 MB / 337.1 MB, free: 10.98 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.GasSolubility_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.GasSolubility_blood") translateModel(Chemical.Obsolete.Examples.GasSolubility_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.GasSolubility_blood") [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.002755/0.002755, allocations: 67.91 kB / 472.4 MB, free: 7.027 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3064, allocations: 59.86 MB / 0.5197 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.006276/0.3127, allocations: 6.261 MB / 0.5259 GB, free: 5.656 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02305/0.3358, allocations: 19.19 MB / 0.5446 GB, free: 8.594 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001143/0.3369, allocations: 20.66 kB / 0.5446 GB, free: 8.582 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00129/0.3382, allocations: 416.6 kB / 0.545 GB, free: 8.371 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005781/0.344, allocations: 1.625 MB / 0.5466 GB, free: 7.414 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009334/0.3533, allocations: 2.85 MB / 0.5494 GB, free: 5.742 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00332/0.3566, allocations: 1.832 MB / 0.5512 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0012/0.3578, allocations: 0.7652 MB / 0.5519 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001328/0.3592, allocations: 0.8789 MB / 0.5528 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001569/0.3607, allocations: 0.9547 MB / 0.5537 GB, free: 3.207 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002256/0.361, allocations: 153.3 kB / 0.5539 GB, free: 3.207 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007407/0.3684, allocations: 2.251 MB / 0.5561 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000491/0.3689, allocations: 369.2 kB / 0.5564 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001055/0.3699, allocations: 0.6652 MB / 0.5571 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01056/0.3805, allocations: 4.246 MB / 0.5612 GB, free: 15.11 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3805, allocations: 0 / 0.5612 GB, free: 15.11 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3805, allocations: 0 / 0.5612 GB, free: 15.11 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.065e-05/0.3805, allocations: 1.188 kB / 0.5612 GB, free: 15.11 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.00478/0.3853, allocations: 2.052 MB / 0.5632 GB, free: 13.12 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.3853, allocations: 15.97 kB / 0.5632 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001853/0.3872, allocations: 387.3 kB / 0.5636 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001593/0.3888, allocations: 0.7003 MB / 0.5643 GB, free: 12 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.81e-05/0.3889, allocations: 94.84 kB / 0.5644 GB, free: 11.9 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000245/0.3891, allocations: 128.3 kB / 0.5645 GB, free: 11.78 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003043/0.3922, allocations: 1.783 MB / 0.5662 GB, free: 9.953 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.967e-05/0.3922, allocations: 0 / 0.5662 GB, free: 9.953 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001394/0.3923, allocations: 55.94 kB / 0.5663 GB, free: 9.898 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.832e-05/0.3924, allocations: 28 kB / 0.5663 GB, free: 9.871 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003678/0.396, allocations: 2.489 MB / 0.5687 GB, free: 7.375 MB / 414.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.008175/0.4042, allocations: 4.176 MB / 0.5728 GB, free: 3.129 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003491/0.4077, allocations: 1.839 MB / 0.5746 GB, free: 1.285 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008082/0.4085, allocations: 0.4899 MB / 0.5751 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006602/0.4151, allocations: 2.692 MB / 0.5777 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.4152, allocations: 39.22 kB / 0.5778 GB, free: 14.02 MB / 430.1 MB Notification: Performance of pre-optimization done (n=72): time 2.575e-06/0.4152, allocations: 4 kB / 0.5778 GB, free: 14.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.01656/0.4317, allocations: 3.236 MB / 0.5809 GB, free: 10.75 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.937e-05/0.4318, allocations: 60.41 kB / 0.581 GB, free: 10.68 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001547/0.4333, allocations: 1.282 MB / 0.5822 GB, free: 9.383 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.328e-05/0.4334, allocations: 41.7 kB / 0.5823 GB, free: 9.336 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005485/0.4339, allocations: 0.71 MB / 0.583 GB, free: 8.617 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003048/0.4342, allocations: 337.2 kB / 0.5833 GB, free: 8.285 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004373/0.4347, allocations: 291.4 kB / 0.5836 GB, free: 7.996 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001958/0.4349, allocations: 353.9 kB / 0.5839 GB, free: 7.645 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008081/0.4357, allocations: 0.5154 MB / 0.5844 GB, free: 7.129 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001286/0.437, allocations: 1.016 MB / 0.5854 GB, free: 5.906 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001972/0.4389, allocations: 1.445 MB / 0.5868 GB, free: 4.242 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.439, allocations: 4 kB / 0.5868 GB, free: 4.238 MB / 430.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.005083/0.444, allocations: 1.928 MB / 0.5887 GB, free: 2.297 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.946e-05/0.4441, allocations: 12.09 kB / 0.5887 GB, free: 2.285 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.249e-05/0.4441, allocations: 20 kB / 0.5887 GB, free: 2.266 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002277/0.4464, allocations: 249.4 kB / 0.589 GB, free: 2.016 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/0.4476, allocations: 355.5 kB / 0.5893 GB, free: 1.668 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006051/0.4536, allocations: 3.6 MB / 0.5928 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.4549, allocations: 44 kB / 0.5929 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001712/0.455, allocations: 83.97 kB / 0.5929 GB, free: 13.74 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (179): * Single equations (assignments): 177 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0005726/0.4556, allocations: 297.3 kB / 0.5932 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002594/0.4559, allocations: 103.3 kB / 0.5933 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004262/0.4601, allocations: 1.243 MB / 0.5945 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.4601, allocations: 8 kB / 0.5945 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.4601, allocations: 0 / 0.5945 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/0.4602, allocations: 11.92 kB / 0.5946 GB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001543/0.4617, allocations: 0.8158 MB / 0.5954 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.4617, allocations: 0 / 0.5954 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007206/0.4624, allocations: 179.9 kB / 0.5955 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002124/0.4646, allocations: 229.5 kB / 0.5957 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.361e-05/0.4646, allocations: 27.98 kB / 0.5958 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00531/0.4699, allocations: 3.488 MB / 0.5992 GB, free: 7.078 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4699, allocations: 64 / 0.5992 GB, free: 7.078 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00454/0.4745, allocations: 1.592 MB / 0.6007 GB, free: 5.453 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003216/0.4748, allocations: 91.39 kB / 0.6008 GB, free: 5.363 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001534/0.475, allocations: 23.94 kB / 0.6008 GB, free: 5.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005595/0.4755, allocations: 23.98 kB / 0.6009 GB, free: 5.316 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001855/0.4757, allocations: 80.8 kB / 0.6009 GB, free: 5.238 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-05/0.4758, allocations: 35.98 kB / 0.601 GB, free: 5.203 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001039/0.4768, allocations: 0.8856 MB / 0.6018 GB, free: 4.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4768, allocations: 0 / 0.6018 GB, free: 4.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00253/0.4794, allocations: 0.853 MB / 0.6027 GB, free: 3.465 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (blood_plasma.temperature,CO2_unbound_plasma.logn,O2_unbound_plasma.logn,water.logn,others.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 (93): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001969/0.4813, allocations: 1.031 MB / 0.6037 GB, free: 2.422 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00242/0.4837, allocations: 1.36 MB / 0.605 GB, free: 1.039 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.4837, allocations: 0 / 0.605 GB, free: 1.039 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001024/0.4848, allocations: 0.6434 MB / 0.6056 GB, free: 376 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.4859, allocations: 234.4 kB / 0.6059 GB, free: 144 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003565/0.4895, allocations: 2.13 MB / 0.6079 GB, free: 13.97 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005337/0.49, allocations: 499.9 kB / 0.6084 GB, free: 13.45 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008761/0.4909, allocations: 259.5 kB / 0.6087 GB, free: 13.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003761/0.4913, allocations: 170.8 kB / 0.6088 GB, free: 13.03 MB / 462.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4913, allocations: 0 / 0.6088 GB, free: 13.03 MB / 462.1 MB Notification: Performance of Templates: time 0.04657/0.5379, allocations: 30.7 MB / 0.6388 GB, free: 14.52 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.sim & ./Chemical_Chemical.Obsolete.Examples.GasSolubility_blood -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.846970059996238] Failed to read output from testmodel.py, exit status != 0: 0.5482506190019194 0.560502637 0.17690857599999996 Calling exit ...