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.00134/0.00134, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.00156/0.00156, allocations: 210.7 kB / 22.99 MB, free: 4.957 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.1557/0.1557, allocations: 23.87 MB / 337.1 MB, free: 11.07 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.002013/0.002013, allocations: 63.89 kB / 472.4 MB, free: 7.043 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3381, allocations: 59.87 MB / 0.5197 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.007172/0.3453, allocations: 6.258 MB / 0.5259 GB, free: 5.543 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02587/0.3712, allocations: 19.19 MB / 0.5446 GB, free: 8.477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001371/0.3726, allocations: 21.16 kB / 0.5446 GB, free: 8.465 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001478/0.374, allocations: 414 kB / 0.545 GB, free: 8.254 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00579/0.3798, allocations: 1.627 MB / 0.5466 GB, free: 7.297 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009171/0.389, allocations: 2.85 MB / 0.5494 GB, free: 5.625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003398/0.3924, allocations: 1.834 MB / 0.5512 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001175/0.3936, allocations: 0.7653 MB / 0.5519 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001213/0.3948, allocations: 0.8743 MB / 0.5528 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001409/0.3962, allocations: 0.9567 MB / 0.5537 GB, free: 3.105 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002396/0.3964, allocations: 151.5 kB / 0.5539 GB, free: 3.105 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007609/0.404, allocations: 2.26 MB / 0.5561 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005048/0.4046, allocations: 368.3 kB / 0.5564 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001084/0.4056, allocations: 0.6654 MB / 0.5571 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01138/0.417, allocations: 4.241 MB / 0.5612 GB, free: 15 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.417, allocations: 1.062 kB / 0.5612 GB, free: 15 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.417, allocations: 0 / 0.5612 GB, free: 15 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.545e-05/0.4171, allocations: 0 / 0.5612 GB, free: 15 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.004816/0.4219, allocations: 2.052 MB / 0.5632 GB, free: 13.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.4219, allocations: 12.03 kB / 0.5632 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001834/0.4237, allocations: 383.3 kB / 0.5636 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001553/0.4253, allocations: 0.7041 MB / 0.5643 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.146e-05/0.4254, allocations: 94.84 kB / 0.5644 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002432/0.4256, allocations: 128.3 kB / 0.5645 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003006/0.4286, allocations: 1.783 MB / 0.5662 GB, free: 10 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.726e-05/0.4287, allocations: 0 / 0.5662 GB, free: 10 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001399/0.4288, allocations: 52 kB / 0.5663 GB, free: 9.949 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.42e-05/0.4288, allocations: 28 kB / 0.5663 GB, free: 9.922 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003775/0.4326, allocations: 2.496 MB / 0.5688 GB, free: 7.418 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.008644/0.4413, allocations: 4.18 MB / 0.5728 GB, free: 3.168 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003605/0.4449, allocations: 1.839 MB / 0.5746 GB, free: 1.324 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008398/0.4457, allocations: 494.7 kB / 0.5751 GB, free: 0.832 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006558/0.4523, allocations: 2.696 MB / 0.5777 GB, free: 14.11 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.298e-05/0.4523, allocations: 39.22 kB / 0.5778 GB, free: 14.06 MB / 430.1 MB Notification: Performance of pre-optimization done (n=72): time 2.384e-06/0.4523, allocations: 4 kB / 0.5778 GB, free: 14.06 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.01624/0.4685, allocations: 3.232 MB / 0.5809 GB, free: 10.79 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/0.4686, allocations: 60.41 kB / 0.581 GB, free: 10.72 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001742/0.4703, allocations: 1.282 MB / 0.5822 GB, free: 9.426 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.451e-05/0.4704, allocations: 45.64 kB / 0.5823 GB, free: 9.375 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005749/0.471, allocations: 0.71 MB / 0.583 GB, free: 8.656 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003399/0.4713, allocations: 337.2 kB / 0.5833 GB, free: 8.324 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004502/0.4718, allocations: 291.4 kB / 0.5836 GB, free: 8.035 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.472, allocations: 353.9 kB / 0.5839 GB, free: 7.684 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008549/0.4728, allocations: 0.5193 MB / 0.5844 GB, free: 7.164 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/0.4741, allocations: 1.008 MB / 0.5854 GB, free: 5.949 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002085/0.4762, allocations: 1.449 MB / 0.5868 GB, free: 4.281 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/0.4762, allocations: 4 kB / 0.5868 GB, free: 4.277 MB / 430.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.005117/0.4813, allocations: 1.924 MB / 0.5887 GB, free: 2.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.015e-05/0.4814, allocations: 16.09 kB / 0.5887 GB, free: 2.324 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.55e-05/0.4814, allocations: 16 kB / 0.5887 GB, free: 2.309 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002236/0.4836, allocations: 249.4 kB / 0.589 GB, free: 2.059 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/0.4848, allocations: 359.4 kB / 0.5893 GB, free: 1.707 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005943/0.4907, allocations: 3.589 MB / 0.5928 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/0.4918, allocations: 44 kB / 0.5929 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001527/0.492, allocations: 83.97 kB / 0.5929 GB, free: 13.79 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.0005233/0.4925, allocations: 297.3 kB / 0.5932 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002316/0.4928, allocations: 103.3 kB / 0.5933 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004351/0.4971, allocations: 1.248 MB / 0.5945 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.4971, allocations: 8 kB / 0.5946 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.4971, allocations: 0 / 0.5946 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.976e-05/0.4971, allocations: 11.92 kB / 0.5946 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001412/0.4985, allocations: 0.812 MB / 0.5954 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.4986, allocations: 8.062 kB / 0.5954 GB, free: 11.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007094/0.4993, allocations: 179.8 kB / 0.5955 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002181/0.5014, allocations: 225.5 kB / 0.5957 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.409e-05/0.5015, allocations: 35.98 kB / 0.5958 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005428/0.507, allocations: 3.476 MB / 0.5992 GB, free: 7.125 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.507, allocations: 4.062 kB / 0.5992 GB, free: 7.121 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004656/0.5116, allocations: 1.588 MB / 0.6007 GB, free: 5.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003206/0.5119, allocations: 91.39 kB / 0.6008 GB, free: 5.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001643/0.5121, allocations: 19.94 kB / 0.6008 GB, free: 5.391 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005642/0.5127, allocations: 24 kB / 0.6009 GB, free: 5.367 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001892/0.5129, allocations: 76.86 kB / 0.6009 GB, free: 5.293 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-05/0.5129, allocations: 39.98 kB / 0.601 GB, free: 5.254 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001143/0.5141, allocations: 0.8817 MB / 0.6018 GB, free: 4.375 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5141, allocations: 0 / 0.6018 GB, free: 4.375 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002838/0.5169, allocations: 0.8569 MB / 0.6027 GB, free: 3.516 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.00212/0.519, allocations: 1.032 MB / 0.6037 GB, free: 2.473 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002475/0.5215, allocations: 1.356 MB / 0.605 GB, free: 1.094 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5215, allocations: 0 / 0.605 GB, free: 1.094 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001064/0.5226, allocations: 0.6483 MB / 0.6056 GB, free: 428 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.5237, allocations: 234.4 kB / 0.6059 GB, free: 192 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003656/0.5274, allocations: 2.13 MB / 0.6079 GB, free: 14.02 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005459/0.5279, allocations: 0.4921 MB / 0.6084 GB, free: 13.49 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008915/0.5288, allocations: 250.8 kB / 0.6087 GB, free: 13.25 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000371/0.5292, allocations: 166.8 kB / 0.6088 GB, free: 13.08 MB / 462.1 MB Notification: Performance of SimCode: time 1.012e-06/0.5292, allocations: 0 / 0.6088 GB, free: 13.08 MB / 462.1 MB Notification: Performance of Templates: time 0.05065/0.5798, allocations: 30.72 MB / 0.6388 GB, free: 14.57 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 gbode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.119607985005132] Failed to read output from testmodel.py, exit status != 0: 0.5892970330023672 0.604677846 0.18422148900000002 Calling exit ...