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.0007418/0.0007418, 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.0008261/0.0008261, allocations: 170.3 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.8313/0.8313, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.08242/0.08242, 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_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.222e-06/1.222e-06, allocations: 0 / 411.6 MB, free: 236 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.175e-05/1.297e-05, allocations: 2.281 kB / 411.6 MB, free: 232 kB / 378.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_NIST): time 0.008805/0.008818, allocations: 12.84 MB / 424.5 MB, free: 3.332 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.18/0.1888, allocations: 43.18 MB / 467.6 MB, free: 39.94 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001315/0.1901, allocations: 45.91 kB / 467.7 MB, free: 39.92 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001462/0.1916, allocations: 1.012 MB / 468.7 MB, free: 39.4 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005017/0.1966, allocations: 3.561 MB / 472.3 MB, free: 37.38 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01044/0.207, allocations: 7.282 MB / 479.5 MB, free: 33.02 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00267/0.2097, allocations: 4.644 MB / 484.2 MB, free: 30.65 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001261/0.211, allocations: 1.896 MB / 486.1 MB, free: 29.74 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001512/0.2125, allocations: 2.932 MB / 489 MB, free: 28.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001153/0.2136, allocations: 1.836 MB / 490.8 MB, free: 28.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002797/0.2139, allocations: 388.2 kB / 491.2 MB, free: 28.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008423/0.2223, allocations: 5.275 MB / 496.5 MB, free: 26.92 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004704/0.2228, allocations: 0.8953 MB / 497.4 MB, free: 26.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001024/0.2238, allocations: 1.427 MB / 498.8 MB, free: 25.73 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01182/0.2356, allocations: 10.86 MB / 0.4977 GB, free: 21.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2357, allocations: 0.9688 kB / 0.4977 GB, free: 21.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2357, allocations: 0 / 0.4977 GB, free: 21.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.882e-05/0.2357, allocations: 0.9844 kB / 0.4977 GB, free: 21.1 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.005499/0.2412, allocations: 4.687 MB / 0.5023 GB, free: 18.42 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.2412, allocations: 8.125 kB / 0.5023 GB, free: 18.42 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003069/0.2415, allocations: 420.8 kB / 0.5027 GB, free: 18.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00188/0.2434, allocations: 0.9429 MB / 0.5036 GB, free: 17.87 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001506/0.2449, allocations: 1.541 MB / 0.5052 GB, free: 16.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.594e-05/0.245, allocations: 234.7 kB / 0.5054 GB, free: 16.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002992/0.2453, allocations: 320.2 kB / 0.5057 GB, free: 16.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003548/0.2489, allocations: 4.529 MB / 0.5101 GB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.773e-05/0.2489, allocations: 192 / 0.5101 GB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001959/0.2491, allocations: 129.9 kB / 0.5102 GB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.845e-05/0.2491, allocations: 80.41 kB / 0.5103 GB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005141/0.2543, allocations: 6.414 MB / 0.5166 GB, free: 9.09 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.01152/0.2658, allocations: 10.84 MB / 0.5272 GB, free: 14.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004053/0.2698, allocations: 3.712 MB / 0.5308 GB, free: 10.38 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001202/0.271, allocations: 1.177 MB / 0.5319 GB, free: 9.188 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008594/0.2796, allocations: 6.316 MB / 0.5381 GB, free: 2.832 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.2797, allocations: 59.94 kB / 0.5382 GB, free: 2.766 MB / 426.7 MB Notification: Performance of pre-optimization done (n=182): time 3.506e-06/0.2797, allocations: 4 kB / 0.5382 GB, free: 2.762 MB / 426.7 MB Notification: Performance of matching and sorting (n=227): time 0.02048/0.3001, allocations: 9.426 MB / 0.5474 GB, free: 9.234 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.931e-05/0.3002, allocations: 124.8 kB / 0.5475 GB, free: 9.09 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002662/0.3029, allocations: 3.47 MB / 0.5509 GB, free: 5.594 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001092/0.303, allocations: 65.7 kB / 0.5509 GB, free: 5.523 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006952/0.3037, allocations: 1.63 MB / 0.5525 GB, free: 3.879 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004523/0.3041, allocations: 0.8251 MB / 0.5533 GB, free: 3.047 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006271/0.3048, allocations: 0.68 MB / 0.554 GB, free: 2.359 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.804e-05/0.3048, allocations: 305.1 kB / 0.5543 GB, free: 2.059 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001413/0.3062, allocations: 1.422 MB / 0.5557 GB, free: 0.6367 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001959/0.3082, allocations: 2.515 MB / 0.5581 GB, free: 13.64 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003166/0.3114, allocations: 3.615 MB / 0.5617 GB, free: 9.531 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-05/0.3114, allocations: 19.98 kB / 0.5617 GB, free: 9.512 MB / 458.7 MB Notification: Performance of matching and sorting (n=458) (initialization): time 0.007508/0.3189, allocations: 5.039 MB / 0.5666 GB, free: 4.449 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.691e-05/0.3189, allocations: 23.94 kB / 0.5666 GB, free: 4.426 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.031e-05/0.319, allocations: 36 kB / 0.5667 GB, free: 4.391 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002482/0.3214, allocations: 0.7115 MB / 0.5674 GB, free: 3.66 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001797/0.3232, allocations: 0.8347 MB / 0.5682 GB, free: 2.824 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009843/0.3331, allocations: 10.85 MB / 0.5788 GB, free: 7.312 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00214/0.3352, allocations: 112 kB / 0.5789 GB, free: 7.203 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002947/0.3355, allocations: 199.9 kB / 0.5791 GB, free: 7.008 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.0009932/0.3365, allocations: 0.5435 MB / 0.5796 GB, free: 6.453 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004478/0.337, allocations: 282.2 kB / 0.5799 GB, free: 6.176 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00562/0.3426, allocations: 3.206 MB / 0.583 GB, free: 2.957 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.449e-05/0.3426, allocations: 24 kB / 0.583 GB, free: 2.934 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.468e-05/0.3426, allocations: 4 kB / 0.583 GB, free: 2.93 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.031e-05/0.3426, allocations: 11.95 kB / 0.583 GB, free: 2.918 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002803/0.3454, allocations: 2.2 MB / 0.5852 GB, free: 0.6289 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.3454, allocations: 11.97 kB / 0.5852 GB, free: 0.6172 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008975/0.3463, allocations: 439.5 kB / 0.5856 GB, free: 192 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002386/0.3487, allocations: 0.68 MB / 0.5863 GB, free: 15.49 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000149/0.3489, allocations: 75.95 kB / 0.5863 GB, free: 15.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008369/0.3572, allocations: 10.57 MB / 0.5967 GB, free: 4.164 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.3572, allocations: 7.938 kB / 0.5967 GB, free: 4.156 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006976/0.3642, allocations: 4.149 MB / 0.6007 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007996/0.365, allocations: 250.2 kB / 0.601 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003639/0.3654, allocations: 52 kB / 0.601 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008657/0.3663, allocations: 55.98 kB / 0.6011 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003075/0.3666, allocations: 205.5 kB / 0.6013 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001264/0.3667, allocations: 95.95 kB / 0.6014 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002038/0.3687, allocations: 2.393 MB / 0.6037 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3687, allocations: 0 / 0.6037 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005427/0.3742, allocations: 2.111 MB / 0.6058 GB, free: 10.75 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.01139/0.3855, allocations: 7.002 MB / 0.6126 GB, free: 3.656 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004613/0.3902, allocations: 3.635 MB / 0.6161 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.3902, allocations: 4.312 kB / 0.6161 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001826/0.392, allocations: 1.78 MB / 0.6179 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002067/0.3941, allocations: 0.4973 MB / 0.6184 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1678/0.5618, allocations: 26 MB / 0.6438 GB, free: 157.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007655/0.5626, allocations: 1.163 MB / 0.6449 GB, free: 157.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001551/0.5642, allocations: 0.6121 MB / 0.6455 GB, free: 157.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001093/0.5652, allocations: 1.427 MB / 0.6469 GB, free: 156.4 MB / 0.5105 GB Notification: Performance of SimCode: time 1.253e-06/0.5652, allocations: 0 / 0.6469 GB, free: 156.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1038/0.6691, allocations: 97.79 MB / 0.7424 GB, free: 88.15 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.29/10.96, allocations: 0 / 0.7424 GB, free: 88.15 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 & python3 -m fmpy simulate --output-file Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST_res.csv --start-time 0 --stop-time 1e-05 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-09 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.741531047970057] Failed to read output from testmodel.py, exit status != 0: 11.088646670803428 11.094576761 10.857578461 Calling exit ...