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.001452/0.001452, 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.001645/0.001645, allocations: 209.7 kB / 22.24 MB, free: 5.262 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.459/1.459, allocations: 230.6 MB / 256 MB, free: 7.777 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.1772/0.1772, 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: "" <> buildModelFMU(Chemical.Obsolete.Examples.GasSolubility,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_GasSolubility",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.GasSolubility,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_GasSolubility",fmuType="me",version="2.0",platforms={"static"}) [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.002072/0.002072, allocations: 71.88 kB / 471.1 MB, free: 7.496 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.3004, allocations: 59.85 MB / 0.5185 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.009551/0.31, allocations: 9.121 MB / 0.5274 GB, free: 3.547 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03976/0.3497, allocations: 28.97 MB / 0.5557 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00189/0.3516, allocations: 32.03 kB / 0.5558 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002029/0.3537, allocations: 0.6328 MB / 0.5564 GB, free: 15.19 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00839/0.3621, allocations: 2.619 MB / 0.5589 GB, free: 13.21 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01307/0.3751, allocations: 4.371 MB / 0.5632 GB, free: 9.875 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005395/0.3805, allocations: 3.017 MB / 0.5661 GB, free: 8.078 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00233/0.3829, allocations: 1.342 MB / 0.5675 GB, free: 7.082 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002677/0.3855, allocations: 1.488 MB / 0.5689 GB, free: 6.027 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002997/0.3885, allocations: 1.455 MB / 0.5703 GB, free: 4.566 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006168/0.3891, allocations: 264 kB / 0.5706 GB, free: 4.309 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01299/0.4021, allocations: 3.44 MB / 0.5739 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001024/0.4032, allocations: 0.6075 MB / 0.5745 GB, free: 260 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001909/0.4051, allocations: 1.125 MB / 0.5756 GB, free: 15.12 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01845/0.4235, allocations: 6.809 MB / 0.5823 GB, free: 8.289 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.062e-05/0.4235, allocations: 4 kB / 0.5823 GB, free: 8.285 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4235, allocations: 0 / 0.5823 GB, free: 8.285 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.887e-05/0.4236, allocations: 0 / 0.5823 GB, free: 8.285 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.006599/0.4302, allocations: 3.223 MB / 0.5854 GB, free: 5.008 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/0.4302, allocations: 11.97 kB / 0.5854 GB, free: 4.996 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003759/0.4306, allocations: 291.9 kB / 0.5857 GB, free: 4.699 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002591/0.4332, allocations: 0.5843 MB / 0.5863 GB, free: 4.113 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002208/0.4354, allocations: 1.077 MB / 0.5873 GB, free: 3.008 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/0.4356, allocations: 160.6 kB / 0.5875 GB, free: 2.848 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003817/0.4359, allocations: 216.3 kB / 0.5877 GB, free: 2.637 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004652/0.4406, allocations: 2.822 MB / 0.5905 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.365e-05/0.4406, allocations: 0 / 0.5905 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002122/0.4408, allocations: 84 kB / 0.5905 GB, free: 15.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.154e-05/0.4409, allocations: 52 kB / 0.5906 GB, free: 15.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006045/0.4469, allocations: 3.792 MB / 0.5943 GB, free: 11.79 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.01425/0.4612, allocations: 6.978 MB / 0.6011 GB, free: 4.676 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006106/0.4673, allocations: 3.253 MB / 0.6043 GB, free: 1.426 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0016/0.4689, allocations: 0.9114 MB / 0.6052 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01145/0.4803, allocations: 4.681 MB / 0.6097 GB, free: 11.8 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.731e-05/0.4804, allocations: 47.88 kB / 0.6098 GB, free: 11.74 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006688/0.4811, allocations: 186.6 kB / 0.61 GB, free: 11.55 MB / 462.1 MB Notification: Performance of pre-optimization done (n=138): time 4.598e-06/0.4811, allocations: 0 / 0.61 GB, free: 11.55 MB / 462.1 MB Notification: Performance of matching and sorting (n=170): time 0.02955/0.5106, allocations: 6.193 MB / 0.616 GB, free: 5.332 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.861e-05/0.5107, allocations: 69.41 kB / 0.6161 GB, free: 5.25 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002551/0.5132, allocations: 1.741 MB / 0.6178 GB, free: 3.496 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001527/0.5134, allocations: 53.7 kB / 0.6178 GB, free: 3.438 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008196/0.5142, allocations: 1.081 MB / 0.6189 GB, free: 2.344 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005665/0.5148, allocations: 0.6159 MB / 0.6195 GB, free: 1.723 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000665/0.5154, allocations: 476.8 kB / 0.6199 GB, free: 1.25 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.5156, allocations: 309.1 kB / 0.6202 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001424/0.517, allocations: 0.8014 MB / 0.621 GB, free: 144 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002159/0.5191, allocations: 1.612 MB / 0.6226 GB, free: 14.16 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003626/0.5228, allocations: 2.424 MB / 0.625 GB, free: 11.38 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.909e-05/0.5228, allocations: 12 kB / 0.625 GB, free: 11.37 MB / 478.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008642/0.5314, allocations: 3.156 MB / 0.6281 GB, free: 8.191 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.832e-05/0.5315, allocations: 16 kB / 0.6281 GB, free: 8.176 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.851e-05/0.5315, allocations: 35.92 kB / 0.6281 GB, free: 8.141 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003834/0.5353, allocations: 487.1 kB / 0.6286 GB, free: 7.652 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002166/0.5375, allocations: 0.585 MB / 0.6291 GB, free: 7.066 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01174/0.5493, allocations: 7.235 MB / 0.6362 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002148/0.5514, allocations: 83.98 kB / 0.6363 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003344/0.5517, allocations: 147.9 kB / 0.6364 GB, free: 15.15 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.0009114/0.5526, allocations: 413.4 kB / 0.6368 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005038/0.5532, allocations: 174.9 kB / 0.637 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00785/0.561, allocations: 2.405 MB / 0.6393 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.481e-05/0.561, allocations: 20 kB / 0.6394 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.561, allocations: 0 / 0.6394 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.483e-05/0.5611, allocations: 7.969 kB / 0.6394 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002986/0.564, allocations: 1.581 MB / 0.6409 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/0.5641, allocations: 4 kB / 0.6409 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001362/0.5654, allocations: 347.8 kB / 0.6412 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003753/0.5692, allocations: 454.9 kB / 0.6417 GB, free: 9.652 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001771/0.5693, allocations: 63.97 kB / 0.6417 GB, free: 9.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01037/0.5797, allocations: 7.056 MB / 0.6486 GB, free: 2.082 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.5797, allocations: 0 / 0.6486 GB, free: 2.082 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008692/0.5884, allocations: 3.008 MB / 0.6516 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005818/0.589, allocations: 166.7 kB / 0.6517 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003423/0.5893, allocations: 36.19 kB / 0.6518 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009753/0.5903, allocations: 39.98 kB / 0.6518 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003282/0.5906, allocations: 161.7 kB / 0.652 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001491/0.5908, allocations: 71.97 kB / 0.652 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001511/0.5923, allocations: 1.153 MB / 0.6531 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.5923, allocations: 4 kB / 0.6531 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004688/0.597, allocations: 1.379 MB / 0.6545 GB, free: 12.02 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.01165/0.6086, allocations: 4.987 MB / 0.6594 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004449/0.6131, allocations: 2.392 MB / 0.6617 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.6131, allocations: 0.875 kB / 0.6617 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002083/0.6152, allocations: 1.279 MB / 0.663 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001845/0.617, allocations: 373.4 kB / 0.6633 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03666/0.6537, allocations: 16.59 MB / 0.6795 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001115/0.6548, allocations: 0.8024 MB / 0.6803 GB, free: 388 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002083/0.6569, allocations: 429.2 kB / 0.6807 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001571/0.6585, allocations: 0.9556 MB / 0.6816 GB, free: 15 MB / 0.5294 GB Notification: Performance of SimCode: time 2.986e-06/0.6585, allocations: 0 / 0.6816 GB, free: 15 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.364/1.022, allocations: 65.68 MB / 0.7458 GB, free: 178 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.19/17.21, allocations: 4.312 kB / 0.7458 GB, free: 178 MB / 0.5606 GB " [Timeout remaining time 643] (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 & python3 -m fmpy simulate --output-file Chemical_Chemical.Obsolete.Examples.GasSolubility_res.csv --start-time 0 --stop-time 1e-05 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-09 Chemical_Chemical_Obsolete_Examples_GasSolubility.fmu > Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.072651711292565] Failed to read output from testmodel.py, exit status != 0: 17.37152295000851 17.391698072 16.964199882 Calling exit ...