Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.0006866/0.0006866, 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.0006991/0.0006991, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8259/0.8259, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.07788/0.07788, allocations: 17.45 MB / 276.6 MB, free: 11.76 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical_Obsolete_Examples_GasSolubility",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.GasSolubility,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_GasSolubility",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 411.6 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.973e-05/2.098e-05, allocations: 5.172 kB / 411.6 MB, free: 12.46 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.005785/0.005806, allocations: 9.083 MB / 420.7 MB, free: 6.875 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02153/0.02734, allocations: 28.95 MB / 449.6 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001994/0.02933, allocations: 31.81 kB / 449.6 MB, free: 2.426 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00127/0.0306, allocations: 0.6447 MB / 450.3 MB, free: 1.926 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005478/0.03608, allocations: 2.703 MB / 453 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008911/0.04499, allocations: 4.499 MB / 457.5 MB, free: 11.79 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002858/0.04785, allocations: 3.112 MB / 460.6 MB, free: 8.668 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001121/0.04897, allocations: 1.363 MB / 462 MB, free: 7.262 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001481/0.05045, allocations: 2.059 MB / 464 MB, free: 5.199 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001139/0.05159, allocations: 1.298 MB / 465.3 MB, free: 3.898 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002326/0.05182, allocations: 264 kB / 465.6 MB, free: 3.641 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007327/0.05915, allocations: 3.466 MB / 469 MB, free: 172 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004257/0.05957, allocations: 0.619 MB / 469.7 MB, free: 15.55 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008687/0.06044, allocations: 0.9744 MB / 470.6 MB, free: 14.57 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01055/0.071, allocations: 7.243 MB / 477.9 MB, free: 7.301 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.071, allocations: 4 kB / 477.9 MB, free: 7.297 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.071, allocations: 4 kB / 477.9 MB, free: 7.293 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.662e-05/0.07104, allocations: 3.984 kB / 477.9 MB, free: 7.289 MB / 378.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.003645/0.07469, allocations: 3.192 MB / 481.1 MB, free: 4.043 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.07473, allocations: 8.031 kB / 481.1 MB, free: 4.035 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002426/0.07497, allocations: 299.8 kB / 481.4 MB, free: 3.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001363/0.07634, allocations: 0.5802 MB / 482 MB, free: 3.148 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001358/0.07769, allocations: 1.08 MB / 483.1 MB, free: 2.043 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.737e-05/0.07777, allocations: 156.6 kB / 483.2 MB, free: 1.887 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002788/0.07805, allocations: 224.3 kB / 483.4 MB, free: 1.668 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002838/0.08089, allocations: 2.814 MB / 486.2 MB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.644e-05/0.08091, allocations: 192 / 486.2 MB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001357/0.08105, allocations: 88.12 kB / 486.3 MB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.673e-05/0.08108, allocations: 59.98 kB / 486.4 MB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00369/0.08477, allocations: 3.788 MB / 490.2 MB, free: 10.82 MB / 394.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.008135/0.0929, allocations: 6.976 MB / 497.1 MB, free: 3.707 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003464/0.09636, allocations: 3.245 MB / 0.4887 GB, free: 472 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009713/0.09734, allocations: 0.9173 MB / 0.4896 GB, free: 15.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006663/0.104, allocations: 4.685 MB / 0.4941 GB, free: 10.83 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.104, allocations: 47.88 kB / 0.4942 GB, free: 10.77 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003762/0.1044, allocations: 186.7 kB / 0.4944 GB, free: 10.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=138): time 3.687e-06/0.1044, allocations: 0 / 0.4944 GB, free: 10.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=170): time 0.01446/0.1189, allocations: 6.185 MB / 0.5004 GB, free: 4.371 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.1189, allocations: 69.41 kB / 0.5005 GB, free: 4.293 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001434/0.1203, allocations: 1.741 MB / 0.5022 GB, free: 2.539 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.878e-05/0.1204, allocations: 49.7 kB / 0.5022 GB, free: 2.484 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004746/0.1209, allocations: 1.081 MB / 0.5033 GB, free: 1.391 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003503/0.1213, allocations: 0.6081 MB / 0.5039 GB, free: 0.7773 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004337/0.1217, allocations: 472.8 kB / 0.5043 GB, free: 316 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.736e-05/0.1218, allocations: 305.1 kB / 0.5046 GB, free: 8 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009161/0.1227, allocations: 0.8053 MB / 0.5054 GB, free: 15.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001506/0.1242, allocations: 1.604 MB / 0.507 GB, free: 13.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002249/0.1264, allocations: 2.424 MB / 0.5093 GB, free: 10.44 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.276e-05/0.1264, allocations: 8 kB / 0.5093 GB, free: 10.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004969/0.1314, allocations: 3.159 MB / 0.5124 GB, free: 7.254 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/0.1314, allocations: 16 kB / 0.5124 GB, free: 7.238 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.866e-05/0.1315, allocations: 32.81 kB / 0.5125 GB, free: 7.207 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001715/0.1332, allocations: 491.1 kB / 0.5129 GB, free: 6.715 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/0.1343, allocations: 0.5811 MB / 0.5135 GB, free: 6.133 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00658/0.1409, allocations: 7.239 MB / 0.5206 GB, free: 14.44 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/0.1421, allocations: 87.98 kB / 0.5207 GB, free: 14.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001911/0.1423, allocations: 140 kB / 0.5208 GB, free: 14.22 MB / 442.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.000678/0.143, allocations: 421.4 kB / 0.5212 GB, free: 13.8 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002885/0.1432, allocations: 178.8 kB / 0.5214 GB, free: 13.62 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004066/0.1473, allocations: 2.393 MB / 0.5237 GB, free: 11.21 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.1473, allocations: 16 kB / 0.5237 GB, free: 11.19 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.1473, allocations: 0 / 0.5237 GB, free: 11.19 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.107e-05/0.1473, allocations: 11.97 kB / 0.5237 GB, free: 11.18 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001943/0.1493, allocations: 1.586 MB / 0.5253 GB, free: 9.516 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/0.1493, allocations: 4 kB / 0.5253 GB, free: 9.512 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007551/0.1501, allocations: 343.6 kB / 0.5256 GB, free: 9.176 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001875/0.1519, allocations: 463.1 kB / 0.526 GB, free: 8.711 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001443/0.1521, allocations: 63.97 kB / 0.5261 GB, free: 8.648 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005872/0.1579, allocations: 7.037 MB / 0.533 GB, free: 1.16 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1579, allocations: 0 / 0.533 GB, free: 1.16 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004777/0.1627, allocations: 3.008 MB / 0.5359 GB, free: 14.1 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003797/0.1631, allocations: 158.8 kB / 0.5361 GB, free: 13.94 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001723/0.1633, allocations: 40 kB / 0.5361 GB, free: 13.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000499/0.1638, allocations: 43.98 kB / 0.5361 GB, free: 13.86 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002232/0.164, allocations: 153.7 kB / 0.5363 GB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.535e-05/0.1641, allocations: 75.97 kB / 0.5364 GB, free: 13.64 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000985/0.1651, allocations: 1.149 MB / 0.5375 GB, free: 12.49 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1651, allocations: 0 / 0.5375 GB, free: 12.49 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003032/0.1681, allocations: 1.387 MB / 0.5388 GB, free: 11.1 MB / 458.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.00744/0.1756, allocations: 5.044 MB / 0.5438 GB, free: 5.984 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003186/0.1787, allocations: 2.396 MB / 0.5461 GB, free: 3.543 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.1787, allocations: 0 / 0.5461 GB, free: 3.543 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001553/0.1803, allocations: 1.272 MB / 0.5473 GB, free: 2.223 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/0.1816, allocations: 371.8 kB / 0.5477 GB, free: 1.871 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02088/0.2025, allocations: 16.49 MB / 0.5638 GB, free: 356 kB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006497/0.2031, allocations: 0.8101 MB / 0.5646 GB, free: 15.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001208/0.2043, allocations: 432.2 kB / 0.565 GB, free: 15.07 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009838/0.2053, allocations: 0.9527 MB / 0.5659 GB, free: 14.12 MB / 490.7 MB Notification: Performance of SimCode: time 1.433e-06/0.2053, allocations: 0 / 0.5659 GB, free: 14.12 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2044/0.4097, allocations: 65.9 MB / 0.6303 GB, free: 118.2 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.147/9.557, allocations: 0 / 0.6303 GB, free: 118.2 MB / 490.7 MB " [Timeout remaining time 650] (rm -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.GasSolubility.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_GasSolubility_fmu --startTime=0 --stopTime=1e-05 --stepSize=4e-09 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_GasSolubility.fmu > Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.352326096966863] Failed to read output from testmodel.py, exit status != 0: 9.806974644772708 9.678016729 9.605555503 Calling exit ...