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.0007761/0.0007761, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007697/0.0007697, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9243/0.9243, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.09081/0.09081, allocations: 17.37 MB / 276.6 MB, free: 11.83 MB / 266.7 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: Performance of FrontEnd - loaded program: time 3.607e-06/3.607e-06, allocations: 4 kB / 411.4 MB, free: 420 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.717e-05/2.078e-05, allocations: 2.281 kB / 411.4 MB, free: 416 kB / 378.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.007244/0.007264, allocations: 9.072 MB / 420.5 MB, free: 7.293 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.1817/0.189, allocations: 28.95 MB / 449.5 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00131/0.1903, allocations: 29.91 kB / 449.5 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001087/0.1914, allocations: 0.6303 MB / 450.1 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004015/0.1954, allocations: 2.706 MB / 452.8 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00757/0.203, allocations: 4.502 MB / 457.3 MB, free: 41.71 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001772/0.2048, allocations: 3.122 MB / 460.5 MB, free: 40.94 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008306/0.2056, allocations: 1.357 MB / 461.8 MB, free: 40.76 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009959/0.2066, allocations: 2.049 MB / 463.9 MB, free: 40.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008644/0.2075, allocations: 1.301 MB / 465.2 MB, free: 39.8 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000194/0.2076, allocations: 267.7 kB / 465.4 MB, free: 39.8 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004655/0.2123, allocations: 3.46 MB / 468.9 MB, free: 39.22 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002342/0.2125, allocations: 0.6152 MB / 469.5 MB, free: 38.88 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004787/0.213, allocations: 0.9734 MB / 470.5 MB, free: 38.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004734/0.2177, allocations: 7.24 MB / 477.7 MB, free: 36.03 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.2178, allocations: 3.094 kB / 477.7 MB, free: 36.03 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2178, allocations: 3.281 kB / 477.7 MB, free: 36.03 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.214e-05/0.2178, allocations: 0 / 477.7 MB, free: 36.03 MB / 410.7 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.002946/0.2207, allocations: 3.201 MB / 480.9 MB, free: 34.19 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.2208, allocations: 10.03 kB / 480.9 MB, free: 34.19 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002677/0.221, allocations: 298.2 kB / 481.2 MB, free: 34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001322/0.2224, allocations: 0.5792 MB / 481.8 MB, free: 33.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.2236, allocations: 1.081 MB / 482.9 MB, free: 33.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.055e-05/0.2237, allocations: 163.4 kB / 483 MB, free: 33.19 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002527/0.224, allocations: 220.5 kB / 483.3 MB, free: 33.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003028/0.227, allocations: 2.812 MB / 486.1 MB, free: 31.99 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.104e-05/0.227, allocations: 1.219 kB / 486.1 MB, free: 31.99 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001496/0.2272, allocations: 86.44 kB / 486.2 MB, free: 31.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-05/0.2272, allocations: 54.72 kB / 486.2 MB, free: 31.92 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004729/0.2319, allocations: 3.787 MB / 490 MB, free: 30.76 MB / 410.7 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.01094/0.2429, allocations: 6.981 MB / 497 MB, free: 27.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004602/0.2475, allocations: 3.257 MB / 0.4885 GB, free: 26.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001376/0.2489, allocations: 0.9101 MB / 0.4894 GB, free: 25.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008051/0.2569, allocations: 4.689 MB / 0.494 GB, free: 24.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.2569, allocations: 53.47 kB / 0.494 GB, free: 24.05 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005316/0.2575, allocations: 184.4 kB / 0.4942 GB, free: 23.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=138): time 6.111e-06/0.2575, allocations: 2.438 kB / 0.4942 GB, free: 23.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=170): time 0.01554/0.273, allocations: 6.176 MB / 0.5002 GB, free: 21.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/0.2731, allocations: 69.41 kB / 0.5003 GB, free: 21.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001449/0.2745, allocations: 1.741 MB / 0.502 GB, free: 19.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001832/0.2747, allocations: 61.64 kB / 0.5021 GB, free: 19.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003697/0.2751, allocations: 1.064 MB / 0.5031 GB, free: 18.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003305/0.2754, allocations: 0.6109 MB / 0.5037 GB, free: 18.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003816/0.2758, allocations: 474.4 kB / 0.5042 GB, free: 17.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.472e-05/0.2758, allocations: 301.1 kB / 0.5044 GB, free: 17.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008144/0.2766, allocations: 0.8054 MB / 0.5052 GB, free: 16.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001057/0.2777, allocations: 1.615 MB / 0.5068 GB, free: 15.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001986/0.2797, allocations: 2.422 MB / 0.5092 GB, free: 12.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.778e-05/0.2797, allocations: 10.25 kB / 0.5092 GB, free: 12.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004441/0.2841, allocations: 3.155 MB / 0.5123 GB, free: 9.355 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.003e-05/0.2841, allocations: 23.88 kB / 0.5123 GB, free: 9.332 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.03e-05/0.2842, allocations: 24 kB / 0.5123 GB, free: 9.309 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001625/0.2858, allocations: 483.1 kB / 0.5128 GB, free: 8.824 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/0.287, allocations: 0.5996 MB / 0.5134 GB, free: 8.227 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005415/0.2924, allocations: 7.232 MB / 0.5204 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/0.2939, allocations: 79.98 kB / 0.5205 GB, free: 484 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002438/0.2941, allocations: 140.9 kB / 0.5206 GB, free: 344 kB / 410.7 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.0007873/0.2949, allocations: 425.5 kB / 0.521 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004076/0.2953, allocations: 178.8 kB / 0.5212 GB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004431/0.2997, allocations: 2.389 MB / 0.5235 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.995e-05/0.2998, allocations: 23.31 kB / 0.5236 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.2998, allocations: 7.875 kB / 0.5236 GB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.848e-05/0.2998, allocations: 7.969 kB / 0.5236 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002766/0.3026, allocations: 1.579 MB / 0.5251 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-05/0.3026, allocations: 3.938 kB / 0.5251 GB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008848/0.3035, allocations: 351.8 kB / 0.5255 GB, free: 11.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001645/0.3051, allocations: 458.9 kB / 0.5259 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002031/0.3053, allocations: 55.97 kB / 0.5259 GB, free: 10.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005995/0.3113, allocations: 7.054 MB / 0.5328 GB, free: 3.332 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.3113, allocations: 4.031 kB / 0.5328 GB, free: 3.328 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005092/0.3164, allocations: 2.996 MB / 0.5358 GB, free: 284 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006495/0.317, allocations: 170.7 kB / 0.5359 GB, free: 112 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002522/0.3173, allocations: 40 kB / 0.536 GB, free: 72 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005671/0.3179, allocations: 39.98 kB / 0.536 GB, free: 32 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002592/0.3181, allocations: 153.8 kB / 0.5361 GB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.535e-05/0.3182, allocations: 67.97 kB / 0.5362 GB, free: 15.82 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001173/0.3194, allocations: 1.157 MB / 0.5373 GB, free: 14.66 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3194, allocations: 0 / 0.5373 GB, free: 14.66 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003465/0.3229, allocations: 1.387 MB / 0.5387 GB, free: 13.27 MB / 442.7 MB 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.00788/0.3307, allocations: 5.034 MB / 0.5436 GB, free: 8.348 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003772/0.3345, allocations: 2.395 MB / 0.546 GB, free: 5.91 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.3345, allocations: 0 / 0.546 GB, free: 5.91 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00149/0.336, allocations: 1.274 MB / 0.5472 GB, free: 4.59 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001606/0.3376, allocations: 373.2 kB / 0.5476 GB, free: 4.234 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02312/0.3607, allocations: 16.48 MB / 0.5636 GB, free: 2.723 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006152/0.3614, allocations: 0.8063 MB / 0.5644 GB, free: 1.875 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001185/0.3625, allocations: 429.3 kB / 0.5648 GB, free: 1.457 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009957/0.3635, allocations: 0.9566 MB / 0.5658 GB, free: 0.5 MB / 458.7 MB Notification: Performance of SimCode: time 1.903e-06/0.3635, allocations: 0 / 0.5658 GB, free: 0.5 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2296/0.5931, allocations: 65.89 MB / 0.6301 GB, free: 161.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.838/10.43, allocations: 5.047 kB / 0.6301 GB, free: 161.9 MB / 0.5105 GB " [Timeout remaining time 649] (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: 12.306170743890107] Failed to read output from testmodel.py, exit status != 0: 10.55252770613879 10.561193135 10.341728108 Calling exit ...