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.001459/0.001459, allocations: 99.75 kB / 18.95 MB, free: 2.832 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: 215.6 kB / 22.25 MB, free: 5.105 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.575/1.575, allocations: 230.6 MB / 256 MB, free: 7.801 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.1444/0.1444, allocations: 23.88 MB / 336.3 MB, free: 10.95 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.00213/0.00213, allocations: 63.91 kB / 471.6 MB, free: 7.016 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4496/0.4517, allocations: 59.87 MB / 0.519 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.01537/0.4671, allocations: 9.112 MB / 0.5279 GB, free: 3.688 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04781/0.5149, allocations: 28.97 MB / 0.5562 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003315/0.5182, allocations: 39.5 kB / 0.5562 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003285/0.5215, allocations: 0.627 MB / 0.5568 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01242/0.5339, allocations: 2.616 MB / 0.5594 GB, free: 13.27 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0165/0.5504, allocations: 4.369 MB / 0.5637 GB, free: 9.941 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006822/0.5573, allocations: 3.017 MB / 0.5666 GB, free: 8.145 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002883/0.5601, allocations: 1.381 MB / 0.568 GB, free: 7.109 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003271/0.5634, allocations: 1.488 MB / 0.5694 GB, free: 6.008 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004009/0.5674, allocations: 1.635 MB / 0.571 GB, free: 4.367 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006675/0.5681, allocations: 264 kB / 0.5713 GB, free: 4.109 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0137/0.5818, allocations: 3.514 MB / 0.5747 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001249/0.583, allocations: 0.6036 MB / 0.5753 GB, free: 15.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002913/0.5859, allocations: 1.136 MB / 0.5764 GB, free: 14.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02079/0.6067, allocations: 6.798 MB / 0.583 GB, free: 8.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.065e-05/0.6067, allocations: 4 kB / 0.583 GB, free: 8.016 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.6067, allocations: 0 / 0.583 GB, free: 8.016 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001767/0.6069, allocations: 0 / 0.583 GB, free: 8.016 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.008939/0.6159, allocations: 3.227 MB / 0.5862 GB, free: 4.734 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.6159, allocations: 8.031 kB / 0.5862 GB, free: 4.727 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002999/0.6189, allocations: 0.5882 MB / 0.5868 GB, free: 4.137 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002778/0.6217, allocations: 1.077 MB / 0.5878 GB, free: 3.031 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000184/0.6219, allocations: 156.6 kB / 0.588 GB, free: 2.875 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006324/0.6225, allocations: 224.3 kB / 0.5882 GB, free: 2.656 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006254/0.6288, allocations: 2.818 MB / 0.5909 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.582e-05/0.6288, allocations: 0 / 0.5909 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003334/0.6291, allocations: 80 kB / 0.591 GB, free: 15.67 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.457e-05/0.6292, allocations: 52 kB / 0.5911 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006968/0.6362, allocations: 3.792 MB / 0.5948 GB, free: 11.81 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.01859/0.6548, allocations: 6.725 MB / 0.6013 GB, free: 4.969 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007097/0.6619, allocations: 3.258 MB / 0.6045 GB, free: 1.715 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002114/0.664, allocations: 0.9114 MB / 0.6054 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01395/0.6779, allocations: 4.675 MB / 0.61 GB, free: 12.09 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.567e-05/0.678, allocations: 51.88 kB / 0.61 GB, free: 12.03 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008448/0.6788, allocations: 166.8 kB / 0.6102 GB, free: 11.86 MB / 462.1 MB Notification: Performance of pre-optimization done (n=138): time 9.649e-06/0.6788, allocations: 7.875 kB / 0.6102 GB, free: 11.86 MB / 462.1 MB Notification: Performance of matching and sorting (n=170): time 0.03088/0.7097, allocations: 6.181 MB / 0.6162 GB, free: 5.645 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.366e-05/0.7098, allocations: 69.41 kB / 0.6163 GB, free: 5.562 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00299/0.7128, allocations: 1.634 MB / 0.6179 GB, free: 3.91 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003353/0.7131, allocations: 53.7 kB / 0.6179 GB, free: 3.852 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009968/0.7141, allocations: 1.089 MB / 0.619 GB, free: 2.75 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000887/0.715, allocations: 0.6237 MB / 0.6196 GB, free: 2.121 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001112/0.7161, allocations: 476.8 kB / 0.6201 GB, free: 1.648 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.7163, allocations: 305.1 kB / 0.6204 GB, free: 1.348 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001641/0.7179, allocations: 0.8053 MB / 0.6211 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002502/0.7204, allocations: 1.608 MB / 0.6227 GB, free: 14.57 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004579/0.725, allocations: 2.424 MB / 0.6251 GB, free: 11.78 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.027e-05/0.725, allocations: 11.94 kB / 0.6251 GB, free: 11.77 MB / 478.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.009496/0.7345, allocations: 3.144 MB / 0.6282 GB, free: 8.605 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.226e-05/0.7346, allocations: 16 kB / 0.6282 GB, free: 8.59 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.326e-05/0.7346, allocations: 28 kB / 0.6282 GB, free: 8.562 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003721/0.7383, allocations: 487 kB / 0.6287 GB, free: 8.074 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002549/0.7409, allocations: 0.5889 MB / 0.6292 GB, free: 7.484 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01186/0.7527, allocations: 7.155 MB / 0.6362 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001951/0.7547, allocations: 83.98 kB / 0.6363 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004992/0.7552, allocations: 132 kB / 0.6364 GB, free: 15.71 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.001211/0.7564, allocations: 421.5 kB / 0.6368 GB, free: 15.29 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006538/0.7571, allocations: 170.9 kB / 0.637 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008455/0.7655, allocations: 2.396 MB / 0.6393 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.986e-05/0.7655, allocations: 20 kB / 0.6394 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.7655, allocations: 0 / 0.6394 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.678e-05/0.7656, allocations: 7.969 kB / 0.6394 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002958/0.7685, allocations: 1.375 MB / 0.6407 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/0.7685, allocations: 0 / 0.6407 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001448/0.77, allocations: 355.8 kB / 0.641 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00369/0.7737, allocations: 450.9 kB / 0.6415 GB, free: 10.44 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000239/0.7739, allocations: 59.97 kB / 0.6415 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01076/0.7847, allocations: 6.965 MB / 0.6483 GB, free: 3.016 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.104e-06/0.7847, allocations: 7.922 kB / 0.6483 GB, free: 3.008 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009127/0.7938, allocations: 2.992 MB / 0.6513 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006181/0.7944, allocations: 162.7 kB / 0.6514 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004373/0.7949, allocations: 36 kB / 0.6515 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/0.796, allocations: 43.98 kB / 0.6515 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003775/0.7963, allocations: 145.7 kB / 0.6516 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001843/0.7965, allocations: 75.97 kB / 0.6517 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001653/0.7982, allocations: 1.083 MB / 0.6528 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.7982, allocations: 0 / 0.6528 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005384/0.8036, allocations: 1.375 MB / 0.6541 GB, free: 13.04 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.003846/0.8074, allocations: 1.549 MB / 0.6556 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004951/0.8124, allocations: 2.388 MB / 0.658 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.8124, allocations: 4.062 kB / 0.658 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00228/0.8146, allocations: 1.264 MB / 0.6592 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00207/0.8167, allocations: 357 kB / 0.6595 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007216/0.8239, allocations: 3.638 MB / 0.6631 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001227/0.8252, allocations: 0.8021 MB / 0.6639 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001901/0.8271, allocations: 424.6 kB / 0.6643 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008483/0.8279, allocations: 290.7 kB / 0.6646 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of SimCode: time 1.593e-06/0.8279, allocations: 3.938 kB / 0.6646 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of Templates: time 0.08508/0.913, allocations: 50.26 MB / 0.7136 GB, free: 200 kB / 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.4460400878451765] Failed to read output from testmodel.py, exit status != 0: 0.9239385868422687 0.939586429 0.32912501099999997 Calling exit ...