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.001421/0.001421, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001614/0.001614, allocations: 212.7 kB / 22.24 MB, free: 4.855 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.433/1.433, allocations: 230.6 MB / 256 MB, free: 7.785 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.144/0.144, allocations: 23.89 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.002132/0.002132, allocations: 63.91 kB / 471.1 MB, free: 7.512 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2978, allocations: 59.87 MB / 0.5185 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.008522/0.3063, allocations: 9.112 MB / 0.5274 GB, free: 3.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0397/0.346, allocations: 28.97 MB / 0.5557 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002038/0.3481, allocations: 31.84 kB / 0.5558 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002683/0.3508, allocations: 0.6244 MB / 0.5564 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01022/0.361, allocations: 2.619 MB / 0.5589 GB, free: 13.15 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01343/0.3744, allocations: 4.371 MB / 0.5632 GB, free: 9.82 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004783/0.3792, allocations: 3.023 MB / 0.5661 GB, free: 8.02 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002272/0.3815, allocations: 1.351 MB / 0.5675 GB, free: 7.016 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002515/0.384, allocations: 1.483 MB / 0.5689 GB, free: 6.066 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003144/0.3871, allocations: 1.456 MB / 0.5703 GB, free: 4.605 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008674/0.388, allocations: 264 kB / 0.5706 GB, free: 4.348 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01195/0.3999, allocations: 3.432 MB / 0.5739 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001052/0.401, allocations: 0.6075 MB / 0.5745 GB, free: 308 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002326/0.4033, allocations: 1.132 MB / 0.5756 GB, free: 15.16 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.018/0.4213, allocations: 6.797 MB / 0.5823 GB, free: 8.34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.4213, allocations: 4 kB / 0.5823 GB, free: 8.336 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4213, allocations: 0 / 0.5823 GB, free: 8.336 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001168/0.4214, allocations: 0 / 0.5823 GB, free: 8.336 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.008305/0.4298, allocations: 3.227 MB / 0.5854 GB, free: 5.055 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.4298, allocations: 8.031 kB / 0.5854 GB, free: 5.047 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006429/0.4304, allocations: 295.9 kB / 0.5857 GB, free: 4.746 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002816/0.4333, allocations: 0.5843 MB / 0.5863 GB, free: 4.16 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002522/0.4358, allocations: 1.073 MB / 0.5873 GB, free: 3.059 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000152/0.4359, allocations: 156.6 kB / 0.5875 GB, free: 2.902 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004449/0.4364, allocations: 224.3 kB / 0.5877 GB, free: 2.684 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005241/0.4416, allocations: 2.818 MB / 0.5904 GB, free: 15.78 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.208e-05/0.4417, allocations: 4 kB / 0.5905 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002168/0.4419, allocations: 80 kB / 0.5905 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.46e-05/0.4419, allocations: 52 kB / 0.5906 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006311/0.4482, allocations: 3.792 MB / 0.5943 GB, free: 11.84 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.01502/0.4632, allocations: 6.978 MB / 0.6011 GB, free: 4.727 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006185/0.4694, allocations: 3.26 MB / 0.6043 GB, free: 1.469 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001614/0.471, allocations: 0.9114 MB / 0.6052 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01211/0.4832, allocations: 4.68 MB / 0.6097 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.132e-05/0.4832, allocations: 47.88 kB / 0.6098 GB, free: 11.78 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007048/0.4839, allocations: 194.6 kB / 0.61 GB, free: 11.59 MB / 462.1 MB Notification: Performance of pre-optimization done (n=138): time 4.759e-06/0.4839, allocations: 0 / 0.61 GB, free: 11.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=170): time 0.03003/0.514, allocations: 6.189 MB / 0.616 GB, free: 5.371 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.771e-05/0.514, allocations: 69.41 kB / 0.6161 GB, free: 5.289 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002666/0.5167, allocations: 1.745 MB / 0.6178 GB, free: 3.531 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002163/0.5169, allocations: 53.7 kB / 0.6178 GB, free: 3.473 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009028/0.5178, allocations: 1.069 MB / 0.6189 GB, free: 2.391 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006711/0.5185, allocations: 0.6237 MB / 0.6195 GB, free: 1.762 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007657/0.5193, allocations: 480.8 kB / 0.6199 GB, free: 1.285 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.5194, allocations: 309.1 kB / 0.6202 GB, free: 0.9805 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001487/0.5209, allocations: 0.8014 MB / 0.621 GB, free: 180 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002319/0.5232, allocations: 1.612 MB / 0.6226 GB, free: 14.2 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004173/0.5274, allocations: 2.424 MB / 0.625 GB, free: 11.41 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-05/0.5274, allocations: 8 kB / 0.625 GB, free: 11.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.009276/0.5367, allocations: 3.148 MB / 0.628 GB, free: 8.234 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.197e-05/0.5367, allocations: 16.16 kB / 0.6281 GB, free: 8.219 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.946e-05/0.5368, allocations: 32 kB / 0.6281 GB, free: 8.188 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003917/0.5407, allocations: 490.8 kB / 0.6286 GB, free: 7.695 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002146/0.5428, allocations: 0.5812 MB / 0.6291 GB, free: 7.113 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01165/0.5545, allocations: 7.245 MB / 0.6362 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/0.5563, allocations: 91.98 kB / 0.6363 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003522/0.5566, allocations: 140 kB / 0.6364 GB, free: 15.2 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.0009598/0.5576, allocations: 420.2 kB / 0.6368 GB, free: 14.78 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004846/0.5581, allocations: 174.9 kB / 0.637 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008036/0.5661, allocations: 2.392 MB / 0.6393 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.782e-05/0.5661, allocations: 16 kB / 0.6393 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.5662, allocations: 4 kB / 0.6393 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.191e-05/0.5662, allocations: 11.95 kB / 0.6394 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002894/0.5691, allocations: 1.581 MB / 0.6409 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/0.5691, allocations: 4 kB / 0.6409 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001393/0.5705, allocations: 351.8 kB / 0.6412 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003763/0.5742, allocations: 450.9 kB / 0.6417 GB, free: 9.699 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001767/0.5744, allocations: 67.97 kB / 0.6417 GB, free: 9.633 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01084/0.5853, allocations: 7.056 MB / 0.6486 GB, free: 2.125 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.5853, allocations: 0 / 0.6486 GB, free: 2.125 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008765/0.594, allocations: 3.004 MB / 0.6516 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004812/0.5945, allocations: 170.7 kB / 0.6517 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003121/0.5948, allocations: 36 kB / 0.6518 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/0.5958, allocations: 36 kB / 0.6518 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003418/0.5962, allocations: 161.7 kB / 0.6519 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001575/0.5963, allocations: 71.97 kB / 0.652 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001708/0.598, allocations: 1.153 MB / 0.6531 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.598, allocations: 0 / 0.6531 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00455/0.6026, allocations: 1.379 MB / 0.6545 GB, free: 12.07 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.01257/0.6152, allocations: 4.995 MB / 0.6594 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004746/0.6199, allocations: 2.394 MB / 0.6617 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.6199, allocations: 2 kB / 0.6617 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002224/0.6221, allocations: 1.279 MB / 0.663 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00235/0.6245, allocations: 365.4 kB / 0.6633 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0365/0.661, allocations: 16.57 MB / 0.6795 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/0.6621, allocations: 0.8141 MB / 0.6803 GB, free: 436 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00187/0.6639, allocations: 437.6 kB / 0.6807 GB, free: 0 / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001716/0.6657, allocations: 0.9556 MB / 0.6816 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of SimCode: time 1.172e-06/0.6657, allocations: 0 / 0.6816 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3571/1.023, allocations: 65.67 MB / 0.7458 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.88/16.91, allocations: 7.969 kB / 0.7458 GB, free: 177.9 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 & /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 os._exit(0), Time elapsed: 19.62288794806227] Failed to read output from testmodel.py, exit status != 0: 17.068061663769186 17.085473699 16.660763615 Calling exit ...