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.001477/0.001477, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001856/0.001856, allocations: 218.9 kB / 22.26 MB, free: 5.121 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.539/1.539, allocations: 230.6 MB / 256 MB, free: 7.965 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.1489/0.1489, allocations: 23.85 MB / 336.3 MB, free: 11.17 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.00217/0.00217, allocations: 71.89 kB / 471.2 MB, free: 7.668 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3225, allocations: 59.85 MB / 0.5186 GB, free: 9.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.009001/0.3315, allocations: 10.46 MB / 0.5288 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04289/0.3744, allocations: 33.13 MB / 0.5611 GB, free: 9.883 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002295/0.3767, allocations: 35.53 kB / 0.5612 GB, free: 9.863 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002546/0.3793, allocations: 0.6954 MB / 0.5619 GB, free: 9.312 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00949/0.3888, allocations: 2.666 MB / 0.5645 GB, free: 7.281 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0135/0.4023, allocations: 4.366 MB / 0.5687 GB, free: 3.949 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005195/0.4075, allocations: 3.019 MB / 0.5717 GB, free: 2.152 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002484/0.4099, allocations: 1.367 MB / 0.573 GB, free: 1.129 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002852/0.4128, allocations: 1.48 MB / 0.5744 GB, free: 452 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003952/0.4167, allocations: 1.646 MB / 0.5761 GB, free: 15 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009397/0.4177, allocations: 260 kB / 0.5763 GB, free: 14.74 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01323/0.4309, allocations: 3.658 MB / 0.5799 GB, free: 11.08 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009733/0.4319, allocations: 0.6075 MB / 0.5805 GB, free: 10.47 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002359/0.4342, allocations: 1.33 MB / 0.5818 GB, free: 9.133 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01872/0.453, allocations: 6.833 MB / 0.5884 GB, free: 2.273 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.453, allocations: 0 / 0.5884 GB, free: 2.273 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.453, allocations: 0 / 0.5884 GB, free: 2.273 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.889e-05/0.4531, allocations: 0 / 0.5884 GB, free: 2.273 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.006722/0.4598, allocations: 3.23 MB / 0.5916 GB, free: 14.99 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.4598, allocations: 8.031 kB / 0.5916 GB, free: 14.98 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003577/0.4602, allocations: 295.9 kB / 0.5919 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00262/0.4628, allocations: 0.5765 MB / 0.5924 GB, free: 14.11 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002251/0.4651, allocations: 1.081 MB / 0.5935 GB, free: 13 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001429/0.4652, allocations: 164.5 kB / 0.5937 GB, free: 12.83 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004156/0.4656, allocations: 216.3 kB / 0.5939 GB, free: 12.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004599/0.4702, allocations: 2.822 MB / 0.5966 GB, free: 9.715 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.928e-05/0.4702, allocations: 0 / 0.5966 GB, free: 9.715 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002095/0.4705, allocations: 88 kB / 0.5967 GB, free: 9.629 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.47e-05/0.4705, allocations: 51.94 kB / 0.5968 GB, free: 9.578 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006112/0.4766, allocations: 3.831 MB / 0.6005 GB, free: 5.73 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.01532/0.4919, allocations: 8.308 MB / 0.6086 GB, free: 13.1 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006344/0.4983, allocations: 3.316 MB / 0.6118 GB, free: 9.785 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001653/0.4999, allocations: 0.9114 MB / 0.6127 GB, free: 8.871 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01155/0.5115, allocations: 4.966 MB / 0.6176 GB, free: 3.875 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.309e-05/0.5115, allocations: 47.81 kB / 0.6176 GB, free: 3.816 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006633/0.5122, allocations: 198.6 kB / 0.6178 GB, free: 3.621 MB / 462.1 MB Notification: Performance of pre-optimization done (n=138): time 4.218e-06/0.5122, allocations: 0 / 0.6178 GB, free: 3.621 MB / 462.1 MB Notification: Performance of matching and sorting (n=170): time 0.03137/0.5436, allocations: 6.189 MB / 0.6239 GB, free: 13.4 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.022e-05/0.5436, allocations: 69.41 kB / 0.6239 GB, free: 13.32 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002919/0.5466, allocations: 1.695 MB / 0.6256 GB, free: 11.61 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002854/0.5468, allocations: 49.7 kB / 0.6256 GB, free: 11.56 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008878/0.5477, allocations: 1.077 MB / 0.6267 GB, free: 10.47 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007964/0.5485, allocations: 0.6159 MB / 0.6273 GB, free: 9.848 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008625/0.5494, allocations: 480.8 kB / 0.6277 GB, free: 9.371 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.5495, allocations: 305.1 kB / 0.628 GB, free: 9.07 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001425/0.5509, allocations: 0.8052 MB / 0.6288 GB, free: 8.262 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002217/0.5532, allocations: 1.612 MB / 0.6304 GB, free: 6.285 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003598/0.5568, allocations: 2.432 MB / 0.6328 GB, free: 3.492 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-05/0.5568, allocations: 8 kB / 0.6328 GB, free: 3.484 MB / 478.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008892/0.5657, allocations: 3.148 MB / 0.6359 GB, free: 324 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.405e-05/0.5657, allocations: 16 kB / 0.6359 GB, free: 308 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-05/0.5657, allocations: 31.94 kB / 0.6359 GB, free: 276 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004027/0.5698, allocations: 487.1 kB / 0.6364 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002135/0.5719, allocations: 0.585 MB / 0.6369 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.012/0.5839, allocations: 7.301 MB / 0.6441 GB, free: 7.441 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002332/0.5862, allocations: 87.98 kB / 0.6442 GB, free: 7.355 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004893/0.5867, allocations: 136 kB / 0.6443 GB, free: 7.223 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.001205/0.5879, allocations: 424.9 kB / 0.6447 GB, free: 6.797 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005737/0.5885, allocations: 174.9 kB / 0.6449 GB, free: 6.625 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008395/0.5969, allocations: 2.397 MB / 0.6472 GB, free: 4.207 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-05/0.5969, allocations: 24 kB / 0.6472 GB, free: 4.184 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.5969, allocations: 0 / 0.6472 GB, free: 4.184 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.129e-05/0.597, allocations: 11.95 kB / 0.6472 GB, free: 4.172 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003179/0.6001, allocations: 1.835 MB / 0.649 GB, free: 2.254 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.6001, allocations: 4.062 kB / 0.649 GB, free: 2.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001371/0.6015, allocations: 343.6 kB / 0.6494 GB, free: 1.914 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004131/0.6057, allocations: 462.8 kB / 0.6498 GB, free: 1.449 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001653/0.6058, allocations: 63.97 kB / 0.6499 GB, free: 1.387 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01081/0.6166, allocations: 7.122 MB / 0.6568 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.6166, allocations: 0 / 0.6568 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008898/0.6255, allocations: 3 MB / 0.6597 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005062/0.626, allocations: 162.8 kB / 0.6599 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003126/0.6263, allocations: 40 kB / 0.6599 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/0.6274, allocations: 43.98 kB / 0.66 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003444/0.6277, allocations: 153.7 kB / 0.6601 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001518/0.6279, allocations: 71.97 kB / 0.6602 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001548/0.6294, allocations: 1.149 MB / 0.6613 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6294, allocations: 0 / 0.6613 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004263/0.6337, allocations: 1.383 MB / 0.6627 GB, free: 3.762 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.01208/0.6457, allocations: 4.994 MB / 0.6675 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004669/0.6504, allocations: 2.388 MB / 0.6699 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.034e-06/0.6504, allocations: 4.062 kB / 0.6699 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00218/0.6526, allocations: 1.279 MB / 0.6711 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00206/0.6547, allocations: 376.6 kB / 0.6715 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03817/0.6928, allocations: 16.58 MB / 0.6877 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001353/0.6942, allocations: 1.378 MB / 0.689 GB, free: 7.547 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001841/0.696, allocations: 441.6 kB / 0.6894 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001584/0.6976, allocations: 0.9517 MB / 0.6904 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of SimCode: time 1.502e-06/0.6976, allocations: 0 / 0.6904 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3911/1.089, allocations: 65.19 MB / 0.754 GB, free: 174 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.49/21.58, allocations: 7.359 kB / 0.754 GB, free: 174 MB / 0.5606 GB " [Timeout remaining time 638] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_GasSolubility_fmu --startTime=0 --stopTime=1e-05 --stepSize=4e-09 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_GasSolubility.fmu > Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 24.556660348083824] Failed to read output from testmodel.py, exit status != 0: 21.739735351875424 21.762143319 21.304712143 Calling exit ...