Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.GasSolubility.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.001584/0.001584, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001787/0.001787, allocations: 214.2 kB / 23.01 MB, free: 4.566 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.43/1.43, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.1382/0.1382, allocations: 23.85 MB / 337 MB, free: 11.23 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.GasSolubility") translateModel(Chemical.Obsolete.Examples.GasSolubility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.GasSolubility") [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.00206/0.00206, allocations: 78.86 kB / 472.4 MB, free: 7.227 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3013, allocations: 59.86 MB / 0.5198 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.009111/0.3104, allocations: 10.46 MB / 0.53 GB, free: 2.398 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04091/0.3513, allocations: 33.13 MB / 0.5624 GB, free: 10.03 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001898/0.3532, allocations: 31.28 kB / 0.5624 GB, free: 10.02 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002079/0.3553, allocations: 0.6928 MB / 0.5631 GB, free: 9.473 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00828/0.3636, allocations: 2.66 MB / 0.5657 GB, free: 7.449 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01312/0.3767, allocations: 4.365 MB / 0.5699 GB, free: 4.117 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005091/0.3818, allocations: 3.024 MB / 0.5729 GB, free: 2.316 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002379/0.3842, allocations: 1.37 MB / 0.5742 GB, free: 1.289 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00261/0.3868, allocations: 1.486 MB / 0.5757 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003462/0.3902, allocations: 1.632 MB / 0.5773 GB, free: 15 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007515/0.391, allocations: 264 kB / 0.5775 GB, free: 14.74 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01327/0.4043, allocations: 3.658 MB / 0.5811 GB, free: 11.08 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001078/0.4053, allocations: 0.6114 MB / 0.5817 GB, free: 10.46 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002704/0.408, allocations: 1.33 MB / 0.583 GB, free: 9.129 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01739/0.4254, allocations: 6.829 MB / 0.5897 GB, free: 2.273 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.139e-05/0.4254, allocations: 4 kB / 0.5897 GB, free: 2.27 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4254, allocations: 0 / 0.5897 GB, free: 2.27 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001138/0.4256, allocations: 0 / 0.5897 GB, free: 2.27 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 539 * Number of variables: 539 Notification: Performance of Generate backend data structure: time 0.007723/0.4333, allocations: 3.235 MB / 0.5928 GB, free: 14.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.4333, allocations: 8.031 kB / 0.5928 GB, free: 14.97 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002794/0.4361, allocations: 0.5804 MB / 0.5934 GB, free: 14.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002404/0.4385, allocations: 1.073 MB / 0.5944 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001594/0.4387, allocations: 164.5 kB / 0.5946 GB, free: 13.12 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004506/0.4391, allocations: 228.3 kB / 0.5948 GB, free: 12.9 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005062/0.4442, allocations: 2.81 MB / 0.5976 GB, free: 10.01 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.398e-05/0.4442, allocations: 4 kB / 0.5976 GB, free: 10 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002184/0.4444, allocations: 87.98 kB / 0.5976 GB, free: 9.918 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-05/0.4445, allocations: 55.94 kB / 0.5977 GB, free: 9.863 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006065/0.4506, allocations: 3.827 MB / 0.6014 GB, free: 6.02 MB / 446.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.0151/0.4657, allocations: 8.3 MB / 0.6095 GB, free: 13.39 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006219/0.4719, allocations: 3.314 MB / 0.6128 GB, free: 10.08 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001607/0.4735, allocations: 0.9153 MB / 0.6137 GB, free: 9.164 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01191/0.4854, allocations: 4.969 MB / 0.6185 GB, free: 4.164 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.201e-05/0.4854, allocations: 55.81 kB / 0.6186 GB, free: 4.098 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006343/0.4861, allocations: 190.6 kB / 0.6188 GB, free: 3.91 MB / 462.1 MB Notification: Performance of pre-optimization done (n=138): time 3.156e-06/0.4861, allocations: 0 / 0.6188 GB, free: 3.91 MB / 462.1 MB Notification: Performance of matching and sorting (n=170): time 0.03136/0.5174, allocations: 6.189 MB / 0.6248 GB, free: 13.69 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/0.5175, allocations: 69.41 kB / 0.6249 GB, free: 13.61 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002254/0.5198, allocations: 1.691 MB / 0.6265 GB, free: 11.91 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001558/0.5199, allocations: 53.7 kB / 0.6266 GB, free: 11.85 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008572/0.5208, allocations: 1.073 MB / 0.6276 GB, free: 10.76 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005841/0.5214, allocations: 0.6159 MB / 0.6282 GB, free: 10.14 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006895/0.522, allocations: 480.8 kB / 0.6287 GB, free: 9.664 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.5222, allocations: 305.1 kB / 0.629 GB, free: 9.363 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001423/0.5236, allocations: 0.8091 MB / 0.6298 GB, free: 8.551 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002198/0.5258, allocations: 1.6 MB / 0.6313 GB, free: 6.586 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003686/0.5295, allocations: 2.432 MB / 0.6337 GB, free: 3.793 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.334e-05/0.5295, allocations: 8 kB / 0.6337 GB, free: 3.785 MB / 478.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.009179/0.5387, allocations: 3.152 MB / 0.6368 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.38e-05/0.5387, allocations: 24 kB / 0.6368 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.803e-05/0.5388, allocations: 24 kB / 0.6368 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004038/0.5428, allocations: 482.9 kB / 0.6373 GB, free: 84 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002151/0.5449, allocations: 0.5928 MB / 0.6379 GB, free: 15.49 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01183/0.5568, allocations: 7.312 MB / 0.645 GB, free: 7.727 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/0.5586, allocations: 84 kB / 0.6451 GB, free: 7.645 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002711/0.5589, allocations: 143.9 kB / 0.6452 GB, free: 7.504 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * 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 (305): * Single equations (assignments): 301 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0008516/0.5597, allocations: 424.9 kB / 0.6456 GB, free: 7.078 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004383/0.5602, allocations: 174.9 kB / 0.6458 GB, free: 6.906 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008075/0.5682, allocations: 2.392 MB / 0.6481 GB, free: 4.496 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/0.5683, allocations: 16 kB / 0.6482 GB, free: 4.48 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.732e-05/0.5683, allocations: 4 kB / 0.6482 GB, free: 4.477 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.422e-05/0.5683, allocations: 11.95 kB / 0.6482 GB, free: 4.465 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002883/0.5712, allocations: 1.835 MB / 0.65 GB, free: 2.547 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.385e-06/0.5712, allocations: 4 kB / 0.65 GB, free: 2.543 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00142/0.5726, allocations: 343.6 kB / 0.6503 GB, free: 2.207 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00427/0.5769, allocations: 463.1 kB / 0.6507 GB, free: 1.742 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001611/0.577, allocations: 59.97 kB / 0.6508 GB, free: 1.684 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01093/0.588, allocations: 7.122 MB / 0.6577 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.588, allocations: 8.062 kB / 0.6578 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009022/0.597, allocations: 3 MB / 0.6607 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004507/0.5975, allocations: 162.7 kB / 0.6608 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002495/0.5977, allocations: 40 kB / 0.6609 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009604/0.5987, allocations: 39.98 kB / 0.6609 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003225/0.599, allocations: 153.7 kB / 0.6611 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001446/0.5991, allocations: 71.97 kB / 0.6611 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001521/0.6007, allocations: 1.153 MB / 0.6623 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.6007, allocations: 192 / 0.6623 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003824/0.6045, allocations: 1.387 MB / 0.6636 GB, free: 4.047 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (blood_plasma.temperature,red_cells.temperature,CO2_unbound_plasma.logn,O2_unbound_plasma.logn,CO2_unbound_erythrocyte.logn,O2_unbound_erythrocyte_NIST.logn,water_plasma.logn,water.logn,water_plasma1.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 (183): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002808/0.6073, allocations: 1.541 MB / 0.6651 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004365/0.6116, allocations: 2.395 MB / 0.6675 GB, free: 52 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.6117, allocations: 0 / 0.6675 GB, free: 52 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002159/0.6138, allocations: 1.272 MB / 0.6687 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001715/0.6155, allocations: 365.9 kB / 0.669 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00635/0.6219, allocations: 3.679 MB / 0.6726 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001131/0.623, allocations: 1.374 MB / 0.674 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009558/0.624, allocations: 382.4 kB / 0.6743 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of SimCode: time 8.41e-07/0.624, allocations: 0 / 0.6743 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of Templates: time 0.2756/0.8996, allocations: 67.42 MB / 0.7402 GB, free: 178.3 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.GasSolubility.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.GasSolubility.sim & ./Chemical_Chemical.Obsolete.Examples.GasSolubility -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.504961137892678] Failed to read output from testmodel.py, exit status != 0: 0.908523844089359 0.919626261 0.491342203 Calling exit ...