Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.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.0007503/0.0007503, 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.0007273/0.0007273, 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.841/0.841, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.0771/0.0771, allocations: 17.45 MB / 276.6 MB, free: 11.75 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_NIST,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_GasSolubility_NIST",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.GasSolubility_NIST,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_GasSolubility_NIST",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 411.6 MB, free: 240 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.183e-05/2.348e-05, allocations: 6.219 kB / 411.6 MB, free: 232 kB / 378.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_NIST): time 0.009245/0.009269, allocations: 12.85 MB / 424.5 MB, free: 3.328 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.174/0.1832, allocations: 43.18 MB / 467.6 MB, free: 40.24 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001077/0.1843, allocations: 49.25 kB / 467.7 MB, free: 40.21 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001249/0.1856, allocations: 1.009 MB / 468.7 MB, free: 39.68 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003745/0.1893, allocations: 3.551 MB / 472.2 MB, free: 37.48 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008186/0.1975, allocations: 7.283 MB / 479.5 MB, free: 33.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002041/0.1995, allocations: 4.658 MB / 484.2 MB, free: 30.73 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000995/0.2005, allocations: 1.894 MB / 486.1 MB, free: 29.82 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001429/0.202, allocations: 2.933 MB / 489 MB, free: 28.74 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001126/0.2031, allocations: 1.837 MB / 490.9 MB, free: 28.25 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002716/0.2034, allocations: 383.9 kB / 491.2 MB, free: 28.25 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008333/0.2117, allocations: 5.282 MB / 496.5 MB, free: 27 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005785/0.2123, allocations: 0.8962 MB / 497.4 MB, free: 26.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001186/0.2135, allocations: 1.419 MB / 498.8 MB, free: 25.81 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01217/0.2256, allocations: 10.87 MB / 0.4977 GB, free: 21.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2256, allocations: 4 kB / 0.4978 GB, free: 21.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2256, allocations: 0 / 0.4978 GB, free: 21.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.154e-05/0.2257, allocations: 1.25 kB / 0.4978 GB, free: 21.18 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: 791 * Number of variables: 791 Notification: Performance of Generate backend data structure: time 0.005581/0.2313, allocations: 4.682 MB / 0.5023 GB, free: 18.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.2313, allocations: 9 kB / 0.5023 GB, free: 18.5 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003102/0.2316, allocations: 422.2 kB / 0.5027 GB, free: 18.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00196/0.2336, allocations: 0.9369 MB / 0.5037 GB, free: 17.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001531/0.2351, allocations: 1.549 MB / 0.5052 GB, free: 17.06 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.324e-05/0.2352, allocations: 232.7 kB / 0.5054 GB, free: 16.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000294/0.2355, allocations: 320.3 kB / 0.5057 GB, free: 16.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00365/0.2391, allocations: 4.528 MB / 0.5101 GB, free: 15.03 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.96e-05/0.2392, allocations: 192 / 0.5101 GB, free: 15.03 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002044/0.2394, allocations: 127.4 kB / 0.5102 GB, free: 14.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.184e-05/0.2394, allocations: 79.03 kB / 0.5103 GB, free: 14.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004514/0.2439, allocations: 6.425 MB / 0.5166 GB, free: 9.199 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.009619/0.2536, allocations: 10.82 MB / 0.5271 GB, free: 14.23 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003862/0.2574, allocations: 3.737 MB / 0.5308 GB, free: 10.48 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001198/0.2586, allocations: 1.168 MB / 0.5319 GB, free: 9.305 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009398/0.268, allocations: 6.308 MB / 0.5381 GB, free: 2.957 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.2681, allocations: 56 kB / 0.5382 GB, free: 2.895 MB / 426.7 MB Notification: Performance of pre-optimization done (n=182): time 3.737e-06/0.2681, allocations: 0 / 0.5382 GB, free: 2.895 MB / 426.7 MB Notification: Performance of matching and sorting (n=227): time 0.02055/0.2886, allocations: 9.436 MB / 0.5474 GB, free: 9.355 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.713e-05/0.2887, allocations: 128.8 kB / 0.5475 GB, free: 9.207 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002735/0.2914, allocations: 3.462 MB / 0.5509 GB, free: 5.719 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001069/0.2915, allocations: 65.7 kB / 0.5509 GB, free: 5.648 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007336/0.2922, allocations: 1.63 MB / 0.5525 GB, free: 4.004 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004869/0.2927, allocations: 0.8251 MB / 0.5533 GB, free: 3.172 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006627/0.2934, allocations: 0.6839 MB / 0.554 GB, free: 2.48 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.181e-05/0.2935, allocations: 309.1 kB / 0.5543 GB, free: 2.176 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001489/0.2949, allocations: 1.417 MB / 0.5557 GB, free: 0.7578 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001981/0.2969, allocations: 2.515 MB / 0.5581 GB, free: 13.76 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003211/0.3001, allocations: 3.623 MB / 0.5617 GB, free: 9.645 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.81e-05/0.3002, allocations: 8 kB / 0.5617 GB, free: 9.637 MB / 458.7 MB Notification: Performance of matching and sorting (n=458) (initialization): time 0.006965/0.3071, allocations: 5.047 MB / 0.5666 GB, free: 4.566 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/0.3071, allocations: 20 kB / 0.5666 GB, free: 4.547 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.263e-05/0.3072, allocations: 36 kB / 0.5667 GB, free: 4.512 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002414/0.3096, allocations: 0.7152 MB / 0.5674 GB, free: 3.777 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001412/0.311, allocations: 0.8386 MB / 0.5682 GB, free: 2.938 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008907/0.3199, allocations: 10.83 MB / 0.5788 GB, free: 7.441 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/0.3215, allocations: 120 kB / 0.5789 GB, free: 7.324 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002045/0.3217, allocations: 195.9 kB / 0.5791 GB, free: 7.133 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 159 * 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 (440): * Single equations (assignments): 434 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0008586/0.3225, allocations: 0.5474 MB / 0.5796 GB, free: 6.574 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003312/0.3229, allocations: 278.2 kB / 0.5799 GB, free: 6.301 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005416/0.3283, allocations: 3.205 MB / 0.583 GB, free: 3.082 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/0.3283, allocations: 28 kB / 0.583 GB, free: 3.055 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.3283, allocations: 4 kB / 0.583 GB, free: 3.051 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.55e-05/0.3283, allocations: 11.95 kB / 0.583 GB, free: 3.039 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002312/0.3306, allocations: 2.208 MB / 0.5852 GB, free: 0.7422 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-06/0.3306, allocations: 4 kB / 0.5852 GB, free: 0.7383 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008553/0.3315, allocations: 447.8 kB / 0.5856 GB, free: 308 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002367/0.3339, allocations: 0.6682 MB / 0.5863 GB, free: 15.61 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001488/0.334, allocations: 83.95 kB / 0.5863 GB, free: 15.53 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00802/0.342, allocations: 10.56 MB / 0.5967 GB, free: 4.289 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.342, allocations: 7.938 kB / 0.5967 GB, free: 4.281 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006289/0.3483, allocations: 4.149 MB / 0.6007 GB, free: 52 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004569/0.3488, allocations: 254.4 kB / 0.601 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000232/0.349, allocations: 55.98 kB / 0.601 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007233/0.3497, allocations: 52 kB / 0.6011 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000288/0.35, allocations: 205.3 kB / 0.6013 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/0.3501, allocations: 91.97 kB / 0.6014 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001863/0.352, allocations: 2.397 MB / 0.6037 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/0.352, allocations: 4 kB / 0.6037 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00484/0.3568, allocations: 2.107 MB / 0.6058 GB, free: 10.88 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 12 (water_solution_37degC1.temperature,CO2_0.logn,O2_0.logn,water_0.logn,water_solution_37degC.temperature,CO2_37.logn,O2_37.logn,water_37.logn,water_solution_25degC.temperature,CO2_25.logn,O2_25.logn,water_25.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 (236): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0107/0.3675, allocations: 6.997 MB / 0.6126 GB, free: 3.785 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004538/0.3721, allocations: 3.642 MB / 0.6161 GB, free: 76 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.3721, allocations: 3.938 kB / 0.6161 GB, free: 72 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001706/0.3738, allocations: 1.773 MB / 0.6179 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001785/0.3756, allocations: 0.498 MB / 0.6184 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1661/0.5417, allocations: 26.01 MB / 0.6438 GB, free: 157.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006841/0.5423, allocations: 1.165 MB / 0.6449 GB, free: 157.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001372/0.5437, allocations: 0.6132 MB / 0.6455 GB, free: 157.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009936/0.5447, allocations: 1.426 MB / 0.6469 GB, free: 156.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.322e-06/0.5447, allocations: 2.844 kB / 0.6469 GB, free: 156.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09688/0.6416, allocations: 97.79 MB / 0.7424 GB, free: 88.43 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.13/10.78, allocations: 5.578 kB / 0.7424 GB, free: 88.42 MB / 0.5105 GB " [Timeout remaining time 649] (rm -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_GasSolubility_NIST_fmu --startTime=0 --stopTime=1e-05 --stepSize=4e-09 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_GasSolubility_NIST.fmu > Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.516364176757634] Failed to read output from testmodel.py, exit status != 0: 10.907735875807703 10.913286471 10.686326783 Calling exit ...