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.001312/0.001312, allocations: 107.6 kB / 16.45 MB, free: 6.453 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.001392/0.001392, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.448/1.448, allocations: 230.6 MB / 252.8 MB, free: 8.945 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.1515/0.1515, allocations: 23.85 MB / 332.7 MB, free: 12.33 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.002077/0.002077, allocations: 63.91 kB / 466 MB, free: 10.07 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3377, allocations: 59.81 MB / 0.5135 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.009495/0.3472, allocations: 10.4 MB / 0.5236 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04383/0.391, allocations: 33.05 MB / 0.5559 GB, free: 9.484 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001988/0.393, allocations: 31.94 kB / 0.5559 GB, free: 9.469 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002557/0.3955, allocations: 0.6914 MB / 0.5566 GB, free: 9.074 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01023/0.4058, allocations: 2.645 MB / 0.5592 GB, free: 7.102 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01608/0.4218, allocations: 4.322 MB / 0.5634 GB, free: 3.746 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005011/0.4269, allocations: 3.02 MB / 0.5664 GB, free: 1.945 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002366/0.4292, allocations: 1.365 MB / 0.5677 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002754/0.432, allocations: 1.481 MB / 0.5691 GB, free: 244 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003496/0.4355, allocations: 1.631 MB / 0.5707 GB, free: 15.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008693/0.4363, allocations: 264.3 kB / 0.571 GB, free: 15.25 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01548/0.4518, allocations: 3.664 MB / 0.5746 GB, free: 12.43 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001195/0.453, allocations: 0.6075 MB / 0.5752 GB, free: 11.82 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003292/0.4563, allocations: 1.33 MB / 0.5765 GB, free: 10.49 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01863/0.4749, allocations: 6.829 MB / 0.5831 GB, free: 3.633 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4749, allocations: 0 / 0.5831 GB, free: 3.633 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4749, allocations: 0 / 0.5831 GB, free: 3.633 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001042/0.4751, allocations: 0 / 0.5831 GB, free: 3.633 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.007825/0.4829, allocations: 3.31 MB / 0.5864 GB, free: 256 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.4829, allocations: 8.031 kB / 0.5864 GB, free: 248 kB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006168/0.4835, allocations: 295.9 kB / 0.5866 GB, free: 15.94 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002973/0.4865, allocations: 0.5843 MB / 0.5872 GB, free: 15.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002449/0.489, allocations: 1.146 MB / 0.5883 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001478/0.4891, allocations: 160.6 kB / 0.5885 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000513/0.4896, allocations: 224.3 kB / 0.5887 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00553/0.4952, allocations: 2.794 MB / 0.5914 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.426e-05/0.4952, allocations: 0 / 0.5914 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002854/0.4955, allocations: 88 kB / 0.5915 GB, free: 10.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.686e-05/0.4955, allocations: 56 kB / 0.5916 GB, free: 10.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007131/0.5027, allocations: 3.788 MB / 0.5953 GB, free: 6.961 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.01659/0.5193, allocations: 8.348 MB / 0.6034 GB, free: 14.29 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006711/0.526, allocations: 3.847 MB / 0.6072 GB, free: 10.32 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001711/0.5277, allocations: 0.9123 MB / 0.6081 GB, free: 9.398 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0143/0.542, allocations: 9.244 MB / 0.6171 GB, free: 15.08 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.977e-05/0.542, allocations: 47.88 kB / 0.6171 GB, free: 15.02 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007358/0.5428, allocations: 186.6 kB / 0.6173 GB, free: 14.84 MB / 478.1 MB Notification: Performance of pre-optimization done (n=138): time 4.729e-06/0.5428, allocations: 0 / 0.6173 GB, free: 14.84 MB / 478.1 MB Notification: Performance of matching and sorting (n=170): time 0.03204/0.5748, allocations: 6.422 MB / 0.6236 GB, free: 8.332 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.087e-05/0.5749, allocations: 69.41 kB / 0.6237 GB, free: 8.25 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002514/0.5774, allocations: 1.66 MB / 0.6253 GB, free: 6.578 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001889/0.5776, allocations: 57.7 kB / 0.6253 GB, free: 6.516 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008825/0.5785, allocations: 1.077 MB / 0.6264 GB, free: 5.426 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007007/0.5792, allocations: 0.612 MB / 0.627 GB, free: 4.809 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008915/0.5801, allocations: 480.8 kB / 0.6274 GB, free: 4.332 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.5802, allocations: 309 kB / 0.6277 GB, free: 4.027 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001701/0.5819, allocations: 0.7936 MB / 0.6285 GB, free: 3.23 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002731/0.5846, allocations: 1.597 MB / 0.6301 GB, free: 1.266 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004505/0.5891, allocations: 2.417 MB / 0.6324 GB, free: 14.49 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.499e-05/0.5892, allocations: 8 kB / 0.6324 GB, free: 14.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.009625/0.5988, allocations: 3.128 MB / 0.6355 GB, free: 11.33 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.306e-05/0.5988, allocations: 16 kB / 0.6355 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-05/0.5989, allocations: 28 kB / 0.6355 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004045/0.6029, allocations: 487 kB / 0.636 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002268/0.6052, allocations: 0.585 MB / 0.6366 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0123/0.6175, allocations: 7.725 MB / 0.6441 GB, free: 1.949 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001887/0.6194, allocations: 80 kB / 0.6442 GB, free: 1.871 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00038/0.6198, allocations: 144 kB / 0.6443 GB, free: 1.73 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.0009961/0.6208, allocations: 428.8 kB / 0.6447 GB, free: 1.301 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005194/0.6213, allocations: 178.8 kB / 0.6449 GB, free: 1.125 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008268/0.6296, allocations: 2.389 MB / 0.6472 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.875e-05/0.6296, allocations: 16 kB / 0.6473 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.6296, allocations: 4 kB / 0.6473 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.11e-05/0.6296, allocations: 7.969 kB / 0.6473 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003161/0.6328, allocations: 1.855 MB / 0.6491 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/0.6328, allocations: 3.984 kB / 0.6491 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00142/0.6342, allocations: 351.8 kB / 0.6494 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00407/0.6383, allocations: 462.9 kB / 0.6499 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001857/0.6385, allocations: 59.97 kB / 0.6499 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01155/0.65, allocations: 7.532 MB / 0.6573 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.376e-06/0.65, allocations: 7.969 kB / 0.6573 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009524/0.6596, allocations: 3 MB / 0.6602 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005567/0.6601, allocations: 243.9 kB / 0.6604 GB, free: 484 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003945/0.6605, allocations: 39.94 kB / 0.6605 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/0.6617, allocations: 36 kB / 0.6605 GB, free: 408 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004036/0.6621, allocations: 153.7 kB / 0.6607 GB, free: 252 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00018/0.6622, allocations: 71.97 kB / 0.6607 GB, free: 180 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001863/0.6641, allocations: 1.133 MB / 0.6618 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.6641, allocations: 0 / 0.6618 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004412/0.6685, allocations: 1.379 MB / 0.6632 GB, free: 13.66 MB / 0.5137 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.6811, allocations: 4.998 MB / 0.6681 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005076/0.6862, allocations: 2.39 MB / 0.6704 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.6862, allocations: 2 kB / 0.6704 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002341/0.6885, allocations: 1.268 MB / 0.6716 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002095/0.6906, allocations: 357.6 kB / 0.672 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03596/0.7266, allocations: 16.52 MB / 0.6881 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001508/0.7281, allocations: 1.382 MB / 0.6895 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001772/0.7298, allocations: 440.7 kB / 0.6899 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001585/0.7314, allocations: 0.967 MB / 0.6908 GB, free: 148 kB / 0.5294 GB Notification: Performance of SimCode: time 9.32e-07/0.7314, allocations: 0 / 0.6908 GB, free: 148 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3653/1.097, allocations: 63.22 MB / 0.7526 GB, free: 172 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.48/21.58, allocations: 3.781 kB / 0.7526 GB, free: 172 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.371601667953655] Failed to read output from testmodel.py, exit status != 0: 21.71631509787403 21.735830997 21.256869757 Calling exit ...