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.001463/0.001463, allocations: 105.1 kB / 18.99 MB, free: 2.605 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.001583/0.001583, allocations: 211.7 kB / 22.29 MB, free: 5.305 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.502/1.502, allocations: 230.6 MB / 256.1 MB, free: 7.793 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.1548/0.1548, allocations: 23.89 MB / 336.4 MB, free: 11.01 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.002122/0.002122, allocations: 63.89 kB / 471.7 MB, free: 6.957 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3264, allocations: 59.86 MB / 0.5191 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.009334/0.3357, allocations: 9.113 MB / 0.528 GB, free: 3.715 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04279/0.3785, allocations: 28.97 MB / 0.5563 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002532/0.3811, allocations: 33.06 kB / 0.5563 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002695/0.3837, allocations: 0.6303 MB / 0.557 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01115/0.3949, allocations: 2.619 MB / 0.5595 GB, free: 13.27 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0185/0.4134, allocations: 4.37 MB / 0.5638 GB, free: 9.938 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005803/0.4192, allocations: 3.017 MB / 0.5667 GB, free: 8.141 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002288/0.4215, allocations: 1.346 MB / 0.568 GB, free: 7.141 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002695/0.4242, allocations: 1.492 MB / 0.5695 GB, free: 5.984 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002788/0.427, allocations: 1.456 MB / 0.5709 GB, free: 4.523 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005755/0.4275, allocations: 260 kB / 0.5712 GB, free: 4.27 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01228/0.4398, allocations: 3.432 MB / 0.5745 GB, free: 0.832 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009947/0.4408, allocations: 0.6075 MB / 0.5751 GB, free: 228 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001966/0.4428, allocations: 1.124 MB / 0.5762 GB, free: 15.09 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01811/0.4609, allocations: 6.817 MB / 0.5829 GB, free: 8.25 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.4609, allocations: 4 kB / 0.5829 GB, free: 8.246 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.4609, allocations: 0 / 0.5829 GB, free: 8.246 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.652e-05/0.461, allocations: 0 / 0.5829 GB, free: 8.246 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.007372/0.4684, allocations: 3.223 MB / 0.586 GB, free: 4.969 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.4684, allocations: 8.031 kB / 0.586 GB, free: 4.961 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002791/0.4712, allocations: 0.5804 MB / 0.5866 GB, free: 4.379 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002491/0.4737, allocations: 1.073 MB / 0.5876 GB, free: 3.277 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001479/0.4738, allocations: 156.6 kB / 0.5878 GB, free: 3.121 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004034/0.4742, allocations: 228.3 kB / 0.588 GB, free: 2.898 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005081/0.4793, allocations: 2.814 MB / 0.5908 GB, free: 0 / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.809e-05/0.4794, allocations: 4.047 kB / 0.5908 GB, free: 15.99 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002091/0.4796, allocations: 80 kB / 0.5908 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.946e-05/0.4796, allocations: 52 kB / 0.5909 GB, free: 15.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006196/0.4858, allocations: 3.796 MB / 0.5946 GB, free: 12.05 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.01638/0.5022, allocations: 6.719 MB / 0.6012 GB, free: 5.215 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006167/0.5084, allocations: 3.261 MB / 0.6043 GB, free: 1.957 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001609/0.51, allocations: 0.9192 MB / 0.6052 GB, free: 1.035 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01155/0.5215, allocations: 4.683 MB / 0.6098 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.029e-05/0.5216, allocations: 51.86 kB / 0.6099 GB, free: 12.25 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007216/0.5223, allocations: 166.8 kB / 0.61 GB, free: 12.09 MB / 462.1 MB Notification: Performance of pre-optimization done (n=138): time 3.547e-06/0.5223, allocations: 0 / 0.61 GB, free: 12.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=170): time 0.02989/0.5522, allocations: 6.177 MB / 0.6161 GB, free: 5.879 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.1e-05/0.5523, allocations: 69.41 kB / 0.6161 GB, free: 5.797 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002303/0.5546, allocations: 1.641 MB / 0.6177 GB, free: 4.137 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002151/0.5548, allocations: 57.7 kB / 0.6178 GB, free: 4.074 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009002/0.5557, allocations: 1.085 MB / 0.6188 GB, free: 2.977 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006763/0.5564, allocations: 0.6198 MB / 0.6194 GB, free: 2.352 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00073/0.5571, allocations: 476.8 kB / 0.6199 GB, free: 1.879 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.5573, allocations: 305.1 kB / 0.6202 GB, free: 1.578 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001464/0.5587, allocations: 0.8014 MB / 0.621 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002311/0.561, allocations: 1.612 MB / 0.6225 GB, free: 14.79 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003804/0.5648, allocations: 2.424 MB / 0.6249 GB, free: 12.01 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.915e-05/0.5648, allocations: 8 kB / 0.6249 GB, free: 12 MB / 478.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008881/0.5737, allocations: 3.144 MB / 0.628 GB, free: 8.84 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.588e-05/0.5738, allocations: 16 kB / 0.628 GB, free: 8.824 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.893e-05/0.5738, allocations: 28 kB / 0.628 GB, free: 8.797 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003869/0.5777, allocations: 487.1 kB / 0.6285 GB, free: 8.309 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002271/0.58, allocations: 0.5889 MB / 0.6291 GB, free: 7.719 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01192/0.5919, allocations: 7.152 MB / 0.6361 GB, free: 172 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001861/0.5937, allocations: 83.98 kB / 0.6361 GB, free: 88 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002812/0.594, allocations: 140 kB / 0.6363 GB, free: 15.95 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.0008949/0.5949, allocations: 421.5 kB / 0.6367 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004129/0.5953, allocations: 170.9 kB / 0.6368 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007865/0.6032, allocations: 2.396 MB / 0.6392 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.07e-05/0.6032, allocations: 19.94 kB / 0.6392 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.6032, allocations: 4 kB / 0.6392 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.51e-05/0.6033, allocations: 15.95 kB / 0.6392 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003004/0.6063, allocations: 1.372 MB / 0.6405 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/0.6063, allocations: 0 / 0.6405 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00138/0.6077, allocations: 347.6 kB / 0.6409 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003923/0.6116, allocations: 459.1 kB / 0.6413 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004622/0.612, allocations: 59.97 kB / 0.6414 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01126/0.6233, allocations: 6.961 MB / 0.6482 GB, free: 3.246 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.6233, allocations: 8.047 kB / 0.6482 GB, free: 3.238 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009092/0.6324, allocations: 2.996 MB / 0.6511 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007138/0.6331, allocations: 154.8 kB / 0.6513 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004638/0.6336, allocations: 44.05 kB / 0.6513 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/0.6348, allocations: 39.94 kB / 0.6513 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003713/0.6351, allocations: 153.7 kB / 0.6515 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001832/0.6353, allocations: 75.97 kB / 0.6516 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001468/0.6368, allocations: 1.076 MB / 0.6526 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6368, allocations: 0 / 0.6526 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004611/0.6414, allocations: 1.375 MB / 0.6539 GB, free: 13.27 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.003707/0.6451, allocations: 1.538 MB / 0.6554 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005052/0.6501, allocations: 2.398 MB / 0.6578 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.6502, allocations: 0 / 0.6578 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00231/0.6525, allocations: 1.27 MB / 0.659 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001964/0.6544, allocations: 358.8 kB / 0.6594 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006735/0.6612, allocations: 3.623 MB / 0.6629 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/0.6622, allocations: 0.8098 MB / 0.6637 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001806/0.664, allocations: 424.7 kB / 0.6641 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006926/0.6647, allocations: 291.8 kB / 0.6644 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of SimCode: time 1.542e-06/0.6647, allocations: 4 kB / 0.6644 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of Templates: time 0.07947/0.7442, allocations: 46.73 MB / 0.71 GB, free: 3.973 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 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.358306339010596] Failed to read output from testmodel.py, exit status != 0: 0.7544850669801235 0.769452137 0.305137819 Calling exit ...