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.001539/0.001539, allocations: 75.75 kB / 19.76 MB, free: 1.875 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.001416/0.001416, allocations: 156 kB / 23.01 MB, free: 4.605 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.345/1.345, allocations: 177.2 MB / 203.4 MB, free: 8.98 MB / 190.1 MB " [Timeout remaining time 179] 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.1285/0.1285, allocations: 17.37 MB / 277.1 MB, free: 15.29 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.002049/0.002049, allocations: 63.91 kB / 412.4 MB, free: 5.762 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09883/0.1009, allocations: 59.86 MB / 472.3 MB, free: 9.785 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.01088/0.1118, allocations: 9.103 MB / 481.4 MB, free: 0.6367 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.2206/0.3324, allocations: 28.97 MB / 0.4984 GB, free: 28.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001561/0.334, allocations: 35.5 kB / 0.4984 GB, free: 28.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00152/0.3355, allocations: 0.6226 MB / 0.499 GB, free: 28 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005838/0.3413, allocations: 2.618 MB / 0.5016 GB, free: 26.44 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009739/0.3511, allocations: 4.368 MB / 0.5059 GB, free: 23.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003087/0.3541, allocations: 3.012 MB / 0.5088 GB, free: 22.39 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001254/0.3554, allocations: 1.343 MB / 0.5101 GB, free: 21.74 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001233/0.3566, allocations: 1.486 MB / 0.5116 GB, free: 21.21 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001518/0.3582, allocations: 1.459 MB / 0.513 GB, free: 20.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002896/0.3584, allocations: 263.9 kB / 0.5132 GB, free: 20.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008714/0.3672, allocations: 3.424 MB / 0.5166 GB, free: 19.94 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005971/0.3678, allocations: 0.6125 MB / 0.5172 GB, free: 19.54 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001302/0.3691, allocations: 1.123 MB / 0.5183 GB, free: 18.97 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0133/0.3824, allocations: 6.799 MB / 0.5249 GB, free: 16.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.3824, allocations: 0.6562 kB / 0.5249 GB, free: 16.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3824, allocations: 1.094 kB / 0.5249 GB, free: 16.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.196e-05/0.3824, allocations: 0 / 0.5249 GB, free: 16.09 MB / 446.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.006952/0.3894, allocations: 3.234 MB / 0.5281 GB, free: 14.22 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.3894, allocations: 14.59 kB / 0.5281 GB, free: 14.21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002804/0.3922, allocations: 0.5785 MB / 0.5287 GB, free: 14.03 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002236/0.3945, allocations: 1.076 MB / 0.5297 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001117/0.3946, allocations: 159 kB / 0.5299 GB, free: 13.33 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003445/0.3949, allocations: 218.4 kB / 0.5301 GB, free: 13.26 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004351/0.3993, allocations: 2.816 MB / 0.5328 GB, free: 12.13 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.372e-05/0.3993, allocations: 3.938 kB / 0.5328 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001946/0.3995, allocations: 87.3 kB / 0.5329 GB, free: 12.06 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-05/0.3995, allocations: 50.56 kB / 0.533 GB, free: 12.06 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005404/0.405, allocations: 3.79 MB / 0.5367 GB, free: 10.89 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.01226/0.4172, allocations: 6.732 MB / 0.5432 GB, free: 7.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006025/0.4232, allocations: 3.254 MB / 0.5464 GB, free: 6.293 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001594/0.4248, allocations: 0.9158 MB / 0.5473 GB, free: 5.918 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009661/0.4345, allocations: 4.687 MB / 0.5519 GB, free: 2.125 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.4345, allocations: 47.88 kB / 0.5519 GB, free: 2.066 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006927/0.4352, allocations: 170.2 kB / 0.5521 GB, free: 1.906 MB / 446.1 MB Notification: Performance of pre-optimization done (n=138): time 5.661e-06/0.4352, allocations: 0 / 0.5521 GB, free: 1.906 MB / 446.1 MB Notification: Performance of matching and sorting (n=170): time 0.03144/0.4667, allocations: 6.177 MB / 0.5581 GB, free: 11.73 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/0.4667, allocations: 73.41 kB / 0.5582 GB, free: 11.64 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002325/0.469, allocations: 1.637 MB / 0.5598 GB, free: 9.984 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002213/0.4693, allocations: 57.7 kB / 0.5598 GB, free: 9.922 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000947/0.4702, allocations: 1.089 MB / 0.5609 GB, free: 8.82 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007146/0.4709, allocations: 0.6198 MB / 0.5615 GB, free: 8.195 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008403/0.4718, allocations: 476.8 kB / 0.562 GB, free: 7.723 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.4719, allocations: 305.1 kB / 0.5623 GB, free: 7.422 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001539/0.4734, allocations: 0.8053 MB / 0.563 GB, free: 6.613 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002382/0.4758, allocations: 1.608 MB / 0.5646 GB, free: 4.641 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003877/0.4797, allocations: 2.421 MB / 0.567 GB, free: 1.859 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.377e-05/0.4797, allocations: 12 kB / 0.567 GB, free: 1.848 MB / 462.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00888/0.4886, allocations: 3.148 MB / 0.5701 GB, free: 14.68 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.338e-05/0.4887, allocations: 16 kB / 0.5701 GB, free: 14.66 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.341e-05/0.4887, allocations: 24 kB / 0.5701 GB, free: 14.64 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003781/0.4925, allocations: 487 kB / 0.5706 GB, free: 14.15 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002265/0.4947, allocations: 0.5928 MB / 0.5711 GB, free: 13.56 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01135/0.5061, allocations: 7.155 MB / 0.5781 GB, free: 6.008 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002199/0.5083, allocations: 83.98 kB / 0.5782 GB, free: 5.926 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004814/0.5088, allocations: 144.4 kB / 0.5784 GB, free: 5.785 MB / 478.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.001102/0.5099, allocations: 417.6 kB / 0.5787 GB, free: 5.367 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005888/0.5105, allocations: 166.9 kB / 0.5789 GB, free: 5.203 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008032/0.5185, allocations: 2.38 MB / 0.5812 GB, free: 2.82 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.277e-05/0.5185, allocations: 23.92 kB / 0.5813 GB, free: 2.797 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/0.5185, allocations: 7.062 kB / 0.5813 GB, free: 2.793 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.337e-05/0.5186, allocations: 7.969 kB / 0.5813 GB, free: 2.785 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002942/0.5215, allocations: 1.376 MB / 0.5826 GB, free: 1.344 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.42e-05/0.5215, allocations: 8.031 kB / 0.5826 GB, free: 1.336 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001398/0.5229, allocations: 343.5 kB / 0.5829 GB, free: 1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003716/0.5266, allocations: 454.9 kB / 0.5834 GB, free: 0.543 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000206/0.5268, allocations: 59.97 kB / 0.5834 GB, free: 496 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01071/0.5375, allocations: 6.965 MB / 0.5902 GB, free: 9.121 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/0.5375, allocations: 7.938 kB / 0.5902 GB, free: 9.113 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009296/0.5468, allocations: 2.992 MB / 0.5932 GB, free: 6.07 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005848/0.5474, allocations: 162.7 kB / 0.5933 GB, free: 5.91 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000438/0.5479, allocations: 36 kB / 0.5934 GB, free: 5.875 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/0.549, allocations: 36 kB / 0.5934 GB, free: 5.84 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003577/0.5494, allocations: 157.7 kB / 0.5935 GB, free: 5.684 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001798/0.5496, allocations: 75.97 kB / 0.5936 GB, free: 5.609 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001548/0.5511, allocations: 1.076 MB / 0.5947 GB, free: 4.531 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5511, allocations: 0 / 0.5947 GB, free: 4.531 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004773/0.5559, allocations: 1.379 MB / 0.596 GB, free: 3.148 MB / 494.1 MB 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.003809/0.5597, allocations: 1.538 MB / 0.5975 GB, free: 1.602 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004616/0.5643, allocations: 2.396 MB / 0.5999 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.5643, allocations: 0 / 0.5999 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002207/0.5665, allocations: 1.28 MB / 0.6011 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002087/0.5686, allocations: 360 kB / 0.6014 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006896/0.5755, allocations: 3.616 MB / 0.605 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001117/0.5766, allocations: 0.8099 MB / 0.6058 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001964/0.5786, allocations: 433.2 kB / 0.6062 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007819/0.5794, allocations: 291.8 kB / 0.6065 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of SimCode: time 1.292e-06/0.5794, allocations: 0 / 0.6065 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of Templates: time 0.07527/0.6546, allocations: 46.73 MB / 0.6521 GB, free: 9.789 MB / 0.545 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 -s ida -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.427749524009414] Failed to read output from testmodel.py, exit status != 0: 0.6641377629712224 0.678235865 0.29271510100000003 Calling exit ...