Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001886/0.001886, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002345/0.002345, allocations: 218.5 kB / 22.99 MB, free: 4.945 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1351/0.1351, allocations: 23.99 MB / 337.2 MB, free: 10.86 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical.Obsolete.Examples.GasSolubility") translateModel(Chemical.Obsolete.Examples.GasSolubility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_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.002029/0.002029, allocations: 63.91 kB / 472.5 MB, free: 6.859 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3243, allocations: 59.89 MB / 0.5199 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.01012/0.3345, allocations: 9.11 MB / 0.5288 GB, free: 3.668 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04431/0.3788, allocations: 28.97 MB / 0.5571 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002193/0.381, allocations: 39.44 kB / 0.5572 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002518/0.3835, allocations: 0.6224 MB / 0.5578 GB, free: 15.19 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01032/0.3938, allocations: 2.624 MB / 0.5603 GB, free: 13.2 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01539/0.4092, allocations: 4.366 MB / 0.5646 GB, free: 9.871 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005459/0.4146, allocations: 3.024 MB / 0.5676 GB, free: 8.066 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002398/0.417, allocations: 1.339 MB / 0.5689 GB, free: 7.074 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003042/0.4201, allocations: 1.484 MB / 0.5703 GB, free: 5.82 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003722/0.4238, allocations: 1.463 MB / 0.5717 GB, free: 4.352 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008302/0.4246, allocations: 264 kB / 0.572 GB, free: 4.094 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01287/0.4375, allocations: 3.424 MB / 0.5753 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001193/0.4387, allocations: 0.6037 MB / 0.5759 GB, free: 60 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002173/0.4409, allocations: 1.136 MB / 0.577 GB, free: 14.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02036/0.4612, allocations: 6.805 MB / 0.5837 GB, free: 8.086 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.307e-06/0.4612, allocations: 0 / 0.5837 GB, free: 8.086 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.876e-06/0.4612, allocations: 0 / 0.5837 GB, free: 8.086 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001289/0.4614, allocations: 4 kB / 0.5837 GB, free: 8.082 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.008402/0.4698, allocations: 3.223 MB / 0.5868 GB, free: 4.805 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.4698, allocations: 12.03 kB / 0.5869 GB, free: 4.793 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002843/0.4727, allocations: 0.5841 MB / 0.5874 GB, free: 4.207 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002899/0.4756, allocations: 1.081 MB / 0.5885 GB, free: 3.098 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001859/0.4757, allocations: 156.6 kB / 0.5886 GB, free: 2.941 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000579/0.4763, allocations: 220.3 kB / 0.5888 GB, free: 2.727 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005821/0.4821, allocations: 2.818 MB / 0.5916 GB, free: 15.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.577e-05/0.4822, allocations: 4 kB / 0.5916 GB, free: 15.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002172/0.4824, allocations: 88 kB / 0.5917 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.793e-05/0.4825, allocations: 52 kB / 0.5917 GB, free: 15.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006459/0.4889, allocations: 3.788 MB / 0.5954 GB, free: 11.88 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.01496/0.5039, allocations: 6.718 MB / 0.602 GB, free: 5.039 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006302/0.5102, allocations: 3.262 MB / 0.6052 GB, free: 1.781 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001925/0.5121, allocations: 0.9153 MB / 0.6061 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01519/0.5273, allocations: 4.674 MB / 0.6106 GB, free: 12.15 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.976e-05/0.5274, allocations: 47.88 kB / 0.6107 GB, free: 12.09 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009401/0.5283, allocations: 174.8 kB / 0.6108 GB, free: 11.92 MB / 462.1 MB Notification: Performance of pre-optimization done (n=138): time 6.562e-06/0.5283, allocations: 0 / 0.6108 GB, free: 11.92 MB / 462.1 MB Notification: Performance of matching and sorting (n=170): time 0.04102/0.5693, allocations: 6.182 MB / 0.6169 GB, free: 5.711 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.9e-05/0.5694, allocations: 69.41 kB / 0.6169 GB, free: 5.629 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003035/0.5724, allocations: 1.634 MB / 0.6185 GB, free: 3.977 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003868/0.5728, allocations: 53.7 kB / 0.6186 GB, free: 3.918 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001142/0.574, allocations: 1.089 MB / 0.6197 GB, free: 2.816 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009578/0.5749, allocations: 0.6159 MB / 0.6203 GB, free: 2.195 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009751/0.5759, allocations: 476.9 kB / 0.6207 GB, free: 1.723 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.5761, allocations: 305.1 kB / 0.621 GB, free: 1.422 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001628/0.5777, allocations: 0.8053 MB / 0.6218 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002295/0.58, allocations: 1.612 MB / 0.6234 GB, free: 14.64 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003846/0.5838, allocations: 2.424 MB / 0.6257 GB, free: 11.85 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-05/0.5839, allocations: 8 kB / 0.6257 GB, free: 11.84 MB / 478.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008962/0.5928, allocations: 3.148 MB / 0.6288 GB, free: 8.676 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.771e-05/0.5929, allocations: 16 kB / 0.6288 GB, free: 8.66 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.226e-05/0.5929, allocations: 27.94 kB / 0.6289 GB, free: 8.633 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003794/0.5967, allocations: 491 kB / 0.6293 GB, free: 8.141 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002257/0.599, allocations: 0.5889 MB / 0.6299 GB, free: 7.551 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01162/0.6106, allocations: 7.158 MB / 0.6369 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002004/0.6126, allocations: 80 kB / 0.637 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000324/0.6129, allocations: 144 kB / 0.6371 GB, free: 15.77 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.0009434/0.6139, allocations: 413.5 kB / 0.6375 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004734/0.6143, allocations: 170.9 kB / 0.6377 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007772/0.6221, allocations: 2.384 MB / 0.64 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.739e-05/0.6221, allocations: 23.98 kB / 0.64 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/0.6221, allocations: 0 / 0.64 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.469e-05/0.6222, allocations: 7.969 kB / 0.64 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002983/0.6252, allocations: 1.394 MB / 0.6414 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/0.6252, allocations: 0 / 0.6414 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001348/0.6265, allocations: 339.5 kB / 0.6417 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003623/0.6301, allocations: 463.2 kB / 0.6421 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002118/0.6304, allocations: 59.97 kB / 0.6422 GB, free: 10.44 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01061/0.641, allocations: 6.96 MB / 0.649 GB, free: 3.078 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.641, allocations: 11.94 kB / 0.649 GB, free: 3.066 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008622/0.6496, allocations: 2.992 MB / 0.6519 GB, free: 24 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005152/0.6501, allocations: 162.8 kB / 0.6521 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002854/0.6504, allocations: 40 kB / 0.6521 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009208/0.6513, allocations: 36 kB / 0.6522 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003239/0.6516, allocations: 157.7 kB / 0.6523 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001507/0.6518, allocations: 71.97 kB / 0.6524 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00145/0.6532, allocations: 1.076 MB / 0.6534 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.6532, allocations: 4 kB / 0.6534 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004028/0.6573, allocations: 1.375 MB / 0.6548 GB, free: 13.1 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.003172/0.6604, allocations: 1.537 MB / 0.6563 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004879/0.6653, allocations: 2.404 MB / 0.6586 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/0.6653, allocations: 0 / 0.6586 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00235/0.6677, allocations: 1.268 MB / 0.6599 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/0.6696, allocations: 366.1 kB / 0.6602 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006857/0.6764, allocations: 3.687 MB / 0.6638 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009706/0.6774, allocations: 0.806 MB / 0.6646 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001048/0.6784, allocations: 378.4 kB / 0.665 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of SimCode: time 7.61e-07/0.6784, allocations: 0 / 0.665 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of Templates: time 0.3011/0.9796, allocations: 67.96 MB / 0.7313 GB, free: 178.1 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.GasSolubility.sim & ./Chemical_master_Chemical.Obsolete.Examples.GasSolubility -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.832921958062798] Failed to read output from testmodel.py, exit status != 0: 0.9891619361005723 1.002113122 0.537731846 Calling exit ...