Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001295/0.001295, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.001398/0.001398, allocations: 212 kB / 20.13 MB, free: 2.949 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.517/1.517, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.1477/0.1477, allocations: 23.86 MB / 333.4 MB, free: 1.211 MB / 254.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_NIST,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_GasSolubility_NIST",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.GasSolubility_NIST,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_GasSolubility_NIST",fmuType="cs",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.002003/0.002003, allocations: 64.44 kB / 466.7 MB, free: 30.8 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1045, allocations: 59.84 MB / 0.5142 GB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_NIST): time 0.01768/0.1222, allocations: 14.85 MB / 0.5287 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.06197/0.1842, allocations: 49.33 MB / 0.5769 GB, free: 12.53 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002406/0.1866, allocations: 47.62 kB / 0.5769 GB, free: 12.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00351/0.1901, allocations: 1.101 MB / 0.578 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0126/0.2027, allocations: 3.445 MB / 0.5813 GB, free: 7.906 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02131/0.224, allocations: 6.989 MB / 0.5882 GB, free: 0.875 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.2701/0.4942, allocations: 4.483 MB / 0.5925 GB, free: 6.363 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002977/0.4971, allocations: 1.909 MB / 0.5944 GB, free: 6.191 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003598/0.5007, allocations: 2.095 MB / 0.5965 GB, free: 6.191 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004753/0.5055, allocations: 2.326 MB / 0.5987 GB, free: 5.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001517/0.507, allocations: 382.5 kB / 0.5991 GB, free: 5.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02162/0.5286, allocations: 5.582 MB / 0.6045 GB, free: 5.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001714/0.5303, allocations: 0.8855 MB / 0.6054 GB, free: 5.855 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003141/0.5335, allocations: 1.962 MB / 0.6073 GB, free: 5.352 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02388/0.5574, allocations: 10.24 MB / 0.6173 GB, free: 4.375 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.5574, allocations: 3.562 kB / 0.6173 GB, free: 4.375 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.5574, allocations: 0 / 0.6173 GB, free: 4.375 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001701/0.5575, allocations: 4.938 kB / 0.6173 GB, free: 4.375 MB / 446.1 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.01168/0.5692, allocations: 4.809 MB / 0.622 GB, free: 2.137 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.288e-05/0.5693, allocations: 9.5 kB / 0.622 GB, free: 2.137 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000133/0.5694, allocations: 80.36 kB / 0.6221 GB, free: 2.129 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006385/0.57, allocations: 422.4 kB / 0.6225 GB, free: 1.875 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004519/0.5746, allocations: 0.9375 MB / 0.6234 GB, free: 1.582 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003917/0.5785, allocations: 1.624 MB / 0.625 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001764/0.5787, allocations: 232.7 kB / 0.6252 GB, free: 0.625 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001025/0.5797, allocations: 327.4 kB / 0.6256 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.011/0.5907, allocations: 4.645 MB / 0.6301 GB, free: 15.49 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.223e-05/0.5907, allocations: 3.375 kB / 0.6301 GB, free: 15.49 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003489/0.5911, allocations: 124.4 kB / 0.6302 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.155e-05/0.5911, allocations: 76.44 kB / 0.6303 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01003/0.6012, allocations: 6.371 MB / 0.6365 GB, free: 11.06 MB / 462.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.02487/0.626, allocations: 12.65 MB / 0.6489 GB, free: 14.3 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008018/0.6341, allocations: 4.467 MB / 0.6532 GB, free: 9.695 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002305/0.6364, allocations: 1.179 MB / 0.6544 GB, free: 8.5 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01926/0.6556, allocations: 12.2 MB / 0.6663 GB, free: 11.04 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.822e-05/0.6557, allocations: 56.25 kB / 0.6663 GB, free: 10.98 MB / 494.1 MB Notification: Performance of pre-optimization done (n=182): time 4.027e-06/0.6557, allocations: 0 / 0.6663 GB, free: 10.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=227): time 0.04595/0.7016, allocations: 9.875 MB / 0.676 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.107e-05/0.7017, allocations: 124.8 kB / 0.6761 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004581/0.7063, allocations: 3.319 MB / 0.6793 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003721/0.7067, allocations: 65.7 kB / 0.6794 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001284/0.708, allocations: 1.648 MB / 0.681 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009561/0.7089, allocations: 0.8303 MB / 0.6818 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001131/0.71, allocations: 0.6912 MB / 0.6825 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.7102, allocations: 305.1 kB / 0.6828 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002438/0.7126, allocations: 1.381 MB / 0.6841 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00356/0.7162, allocations: 2.485 MB / 0.6866 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005818/0.722, allocations: 3.584 MB / 0.6901 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.546e-05/0.722, allocations: 8 kB / 0.6901 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01446/0.7365, allocations: 4.977 MB / 0.6949 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.897e-05/0.7365, allocations: 20 kB / 0.695 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.976e-05/0.7366, allocations: 35.98 kB / 0.695 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00594/0.7425, allocations: 0.7093 MB / 0.6957 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003371/0.7459, allocations: 0.8501 MB / 0.6965 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01804/0.7639, allocations: 11.55 MB / 0.7078 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003172/0.7671, allocations: 116 kB / 0.7079 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005913/0.7677, allocations: 195.9 kB / 0.7081 GB, free: 14.7 MB / 0.5294 GB 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.001429/0.7691, allocations: 0.5492 MB / 0.7086 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009184/0.77, allocations: 278.2 kB / 0.7089 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01179/0.7818, allocations: 3.211 MB / 0.712 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.028e-05/0.7819, allocations: 24 kB / 0.7121 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/0.7819, allocations: 3.938 kB / 0.7121 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.743e-05/0.7819, allocations: 15.95 kB / 0.7121 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005017/0.7869, allocations: 2.604 MB / 0.7146 GB, free: 8.043 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-05/0.787, allocations: 8.375 kB / 0.7146 GB, free: 8.035 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001879/0.7888, allocations: 452 kB / 0.7151 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005829/0.7947, allocations: 0.6712 MB / 0.7157 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002705/0.7949, allocations: 79.95 kB / 0.7158 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01654/0.8115, allocations: 11.29 MB / 0.7268 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/0.8115, allocations: 7.594 kB / 0.7268 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01258/0.8241, allocations: 4.157 MB / 0.7309 GB, free: 6.559 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007894/0.8249, allocations: 327.3 kB / 0.7312 GB, free: 6.219 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004309/0.8253, allocations: 55.92 kB / 0.7312 GB, free: 6.164 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001469/0.8268, allocations: 56 kB / 0.7313 GB, free: 6.109 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004536/0.8272, allocations: 196.5 kB / 0.7315 GB, free: 5.926 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001944/0.8274, allocations: 104 kB / 0.7316 GB, free: 5.824 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003034/0.8304, allocations: 2.338 MB / 0.7339 GB, free: 3.473 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8304, allocations: 4 kB / 0.7339 GB, free: 3.469 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006265/0.8367, allocations: 2.111 MB / 0.7359 GB, free: 1.352 MB / 0.545 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.01815/0.8548, allocations: 6.905 MB / 0.7427 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007268/0.8621, allocations: 3.611 MB / 0.7462 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.194e-05/0.8621, allocations: 4.812 kB / 0.7462 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003628/0.8658, allocations: 1.777 MB / 0.7479 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003172/0.8689, allocations: 0.4944 MB / 0.7484 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05563/0.9246, allocations: 25.93 MB / 0.7737 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001947/0.9265, allocations: 1.713 MB / 0.7754 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002411/0.9289, allocations: 0.6086 MB / 0.776 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002223/0.9311, allocations: 1.424 MB / 0.7774 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of SimCode: time 1.984e-06/0.9311, allocations: 0 / 0.7774 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.388/1.319, allocations: 93.98 MB / 0.8692 GB, free: 208.8 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.14/21.46, allocations: 3.938 kB / 0.8692 GB, free: 208.8 MB / 0.6231 GB " [Timeout remaining time 638] (rm -f Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_GasSolubility_NIST_fmu --startTime=0 --stopTime=1e-05 --stepSize=4e-09 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_GasSolubility_NIST.fmu > Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 24.741741830017418] Failed to read output from testmodel.py, exit status != 0: 21.67422500095563 21.684082352 21.124149156 Calling exit ...