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.00166/0.00166, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001577/0.001577, allocations: 213.4 kB / 22.24 MB, free: 5.258 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.408/1.408, allocations: 230.6 MB / 256 MB, free: 7.789 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.1359/0.1359, allocations: 23.88 MB / 336.3 MB, free: 11.06 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.002053/0.002053, allocations: 63.91 kB / 471.6 MB, free: 7.035 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3091, allocations: 59.86 MB / 0.519 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.008891/0.3179, allocations: 9.12 MB / 0.5279 GB, free: 3.668 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0388/0.3567, allocations: 28.97 MB / 0.5562 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001924/0.3587, allocations: 32.34 kB / 0.5562 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001963/0.3606, allocations: 0.6313 MB / 0.5569 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008363/0.369, allocations: 2.615 MB / 0.5594 GB, free: 13.24 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01366/0.3827, allocations: 4.37 MB / 0.5637 GB, free: 9.91 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004955/0.3876, allocations: 3.021 MB / 0.5666 GB, free: 8.109 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002177/0.3898, allocations: 1.346 MB / 0.5679 GB, free: 7.109 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002347/0.3921, allocations: 1.481 MB / 0.5694 GB, free: 6.043 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002546/0.3947, allocations: 1.459 MB / 0.5708 GB, free: 4.578 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004838/0.3952, allocations: 264 kB / 0.5711 GB, free: 4.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01049/0.4057, allocations: 3.436 MB / 0.5744 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008512/0.4065, allocations: 0.6114 MB / 0.575 GB, free: 272 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001769/0.4083, allocations: 1.125 MB / 0.5761 GB, free: 15.13 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01559/0.4239, allocations: 6.805 MB / 0.5828 GB, free: 8.305 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.912e-06/0.4239, allocations: 0 / 0.5828 GB, free: 8.305 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.4239, allocations: 0 / 0.5828 GB, free: 8.305 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.67e-05/0.4239, allocations: 0 / 0.5828 GB, free: 8.305 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.006027/0.4299, allocations: 3.223 MB / 0.5859 GB, free: 5.027 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.43, allocations: 12.02 kB / 0.5859 GB, free: 5.016 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002495/0.4325, allocations: 0.5843 MB / 0.5865 GB, free: 4.43 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00217/0.4346, allocations: 1.073 MB / 0.5875 GB, free: 3.328 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001528/0.4348, allocations: 160.6 kB / 0.5877 GB, free: 3.168 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003721/0.4352, allocations: 220.3 kB / 0.5879 GB, free: 2.953 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004629/0.4398, allocations: 2.822 MB / 0.5907 GB, free: 48 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.055e-05/0.4398, allocations: 0 / 0.5907 GB, free: 48 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002266/0.4401, allocations: 84.08 kB / 0.5907 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.267e-05/0.4401, allocations: 52 kB / 0.5908 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005831/0.4459, allocations: 3.792 MB / 0.5945 GB, free: 12.1 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.01399/0.4599, allocations: 6.718 MB / 0.601 GB, free: 5.266 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005809/0.4657, allocations: 3.256 MB / 0.6042 GB, free: 2.012 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001564/0.4673, allocations: 0.9153 MB / 0.6051 GB, free: 1.094 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01105/0.4783, allocations: 4.683 MB / 0.6097 GB, free: 12.38 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/0.4784, allocations: 43.88 kB / 0.6097 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005601/0.4789, allocations: 178.8 kB / 0.6099 GB, free: 12.14 MB / 462.1 MB Notification: Performance of pre-optimization done (n=138): time 3.516e-06/0.479, allocations: 0 / 0.6099 GB, free: 12.14 MB / 462.1 MB Notification: Performance of matching and sorting (n=170): time 0.0283/0.5072, allocations: 6.169 MB / 0.6159 GB, free: 5.945 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.235e-05/0.5073, allocations: 73.34 kB / 0.616 GB, free: 5.859 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002186/0.5095, allocations: 1.645 MB / 0.6176 GB, free: 4.195 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001315/0.5096, allocations: 49.7 kB / 0.6177 GB, free: 4.141 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008342/0.5105, allocations: 1.089 MB / 0.6187 GB, free: 3.039 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006118/0.5111, allocations: 0.6198 MB / 0.6193 GB, free: 2.414 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007182/0.5118, allocations: 488.8 kB / 0.6198 GB, free: 1.93 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.5119, allocations: 301.1 kB / 0.6201 GB, free: 1.633 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001406/0.5134, allocations: 0.8053 MB / 0.6209 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002191/0.5155, allocations: 1.608 MB / 0.6224 GB, free: 14.85 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003535/0.5191, allocations: 2.421 MB / 0.6248 GB, free: 12.07 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-05/0.5191, allocations: 8 kB / 0.6248 GB, free: 12.06 MB / 478.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008287/0.5274, allocations: 3.148 MB / 0.6279 GB, free: 8.895 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.927e-05/0.5274, allocations: 18.81 kB / 0.6279 GB, free: 8.879 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.472e-05/0.5275, allocations: 24 kB / 0.6279 GB, free: 8.855 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00358/0.531, allocations: 483 kB / 0.6284 GB, free: 8.371 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002082/0.5331, allocations: 0.5889 MB / 0.629 GB, free: 7.781 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01112/0.5442, allocations: 7.151 MB / 0.6359 GB, free: 232 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001743/0.546, allocations: 83.98 kB / 0.636 GB, free: 148 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002595/0.5462, allocations: 140 kB / 0.6362 GB, free: 8 kB / 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.0008342/0.5471, allocations: 417.5 kB / 0.6366 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003798/0.5475, allocations: 170.9 kB / 0.6367 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007582/0.555, allocations: 2.392 MB / 0.6391 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.182e-05/0.5551, allocations: 27.94 kB / 0.6391 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.5551, allocations: 0 / 0.6391 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.371e-05/0.5551, allocations: 11.95 kB / 0.6391 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002482/0.5576, allocations: 1.367 MB / 0.6404 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/0.5576, allocations: 8 kB / 0.6404 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001297/0.5589, allocations: 347.8 kB / 0.6408 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003658/0.5625, allocations: 454.9 kB / 0.6412 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001656/0.5627, allocations: 63.97 kB / 0.6413 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01027/0.573, allocations: 6.965 MB / 0.6481 GB, free: 3.305 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.573, allocations: 4.031 kB / 0.6481 GB, free: 3.301 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00838/0.5814, allocations: 2.999 MB / 0.651 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005992/0.582, allocations: 154.8 kB / 0.6511 GB, free: 100 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002592/0.5822, allocations: 36 kB / 0.6512 GB, free: 64 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008878/0.5831, allocations: 43.98 kB / 0.6512 GB, free: 20 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003832/0.5835, allocations: 153.7 kB / 0.6514 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001603/0.5837, allocations: 79.91 kB / 0.6514 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001406/0.5851, allocations: 1.072 MB / 0.6525 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.5851, allocations: 4 kB / 0.6525 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00393/0.589, allocations: 1.383 MB / 0.6538 GB, free: 13.32 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.003166/0.5922, allocations: 1.534 MB / 0.6553 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004439/0.5966, allocations: 2.388 MB / 0.6577 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.5966, allocations: 0.5 kB / 0.6577 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002085/0.5987, allocations: 1.263 MB / 0.6589 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001695/0.6004, allocations: 362.9 kB / 0.6593 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006128/0.6065, allocations: 3.642 MB / 0.6628 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009008/0.6074, allocations: 0.8021 MB / 0.6636 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001573/0.609, allocations: 428.8 kB / 0.664 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006415/0.6096, allocations: 290.7 kB / 0.6643 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of SimCode: time 8.31e-07/0.6096, allocations: 0 / 0.6643 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of Templates: time 0.07517/0.6848, allocations: 49.51 MB / 0.7126 GB, free: 1.242 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: 6.732790037989616] Failed to read output from testmodel.py, exit status != 0: 0.6940768547356129 0.708030592 0.2810155349999999 Calling exit ...