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.001321/0.001321, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.00148/0.00148, allocations: 217 kB / 23.03 MB, free: 4.922 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.1467/0.1467, allocations: 23.87 MB / 337.1 MB, free: 10.96 MB / 270.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.001998/0.001998, allocations: 63.91 kB / 471.9 MB, free: 7.504 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3498, allocations: 59.87 MB / 0.5193 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_NIST): time 0.01576/0.3655, allocations: 12.92 MB / 0.5319 GB, free: 1 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.06021/0.4257, allocations: 43.14 MB / 0.574 GB, free: 1.633 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003854/0.4296, allocations: 51.56 kB / 0.5741 GB, free: 1.582 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003801/0.4334, allocations: 1 MB / 0.5751 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01509/0.4485, allocations: 3.434 MB / 0.5784 GB, free: 13.12 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02548/0.474, allocations: 7.071 MB / 0.5853 GB, free: 6.004 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008921/0.4829, allocations: 4.506 MB / 0.5897 GB, free: 1.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003095/0.486, allocations: 1.905 MB / 0.5916 GB, free: 15.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003438/0.4894, allocations: 2.104 MB / 0.5936 GB, free: 13.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004253/0.4937, allocations: 2.32 MB / 0.5959 GB, free: 11.08 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001016/0.4947, allocations: 380 kB / 0.5963 GB, free: 10.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01798/0.5127, allocations: 5.37 MB / 0.6015 GB, free: 5.332 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001903/0.5146, allocations: 0.8879 MB / 0.6024 GB, free: 4.441 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00338/0.5179, allocations: 1.653 MB / 0.604 GB, free: 2.781 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02892/0.5469, allocations: 10.21 MB / 0.614 GB, free: 8.527 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.5469, allocations: 4 kB / 0.614 GB, free: 8.523 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.5469, allocations: 0 / 0.614 GB, free: 8.523 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001567/0.547, allocations: 4 kB / 0.614 GB, free: 8.52 MB / 462.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.01244/0.5595, allocations: 4.721 MB / 0.6186 GB, free: 3.738 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/0.5595, allocations: 8.031 kB / 0.6186 GB, free: 3.73 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001117/0.5596, allocations: 82.39 kB / 0.6187 GB, free: 3.648 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006047/0.5602, allocations: 422.3 kB / 0.6191 GB, free: 3.223 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004493/0.5647, allocations: 0.9347 MB / 0.62 GB, free: 2.285 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003663/0.5684, allocations: 1.547 MB / 0.6215 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002095/0.5686, allocations: 230.6 kB / 0.6217 GB, free: 480 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006529/0.5693, allocations: 324.3 kB / 0.622 GB, free: 156 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007802/0.5771, allocations: 4.527 MB / 0.6265 GB, free: 11.55 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.525e-05/0.5771, allocations: 0 / 0.6265 GB, free: 11.55 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003316/0.5775, allocations: 128 kB / 0.6266 GB, free: 11.43 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.639e-05/0.5775, allocations: 80 kB / 0.6267 GB, free: 11.35 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0101/0.5876, allocations: 6.474 MB / 0.633 GB, free: 4.852 MB / 478.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.02253/0.6102, allocations: 10.83 MB / 0.6435 GB, free: 9.852 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007608/0.6178, allocations: 3.732 MB / 0.6472 GB, free: 6.105 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002232/0.62, allocations: 1.171 MB / 0.6483 GB, free: 4.926 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01576/0.6357, allocations: 6.327 MB / 0.6545 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.368e-05/0.6358, allocations: 56.05 kB / 0.6546 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=182): time 4.509e-06/0.6358, allocations: 0 / 0.6546 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=227): time 0.04792/0.6837, allocations: 9.41 MB / 0.6638 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.286e-05/0.6838, allocations: 132.7 kB / 0.6639 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004531/0.6883, allocations: 3.389 MB / 0.6672 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003737/0.6887, allocations: 69.7 kB / 0.6673 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001388/0.6901, allocations: 1.634 MB / 0.6689 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001011/0.6911, allocations: 0.8329 MB / 0.6697 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001184/0.6923, allocations: 0.6917 MB / 0.6703 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.6925, allocations: 301.1 kB / 0.6706 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002313/0.6948, allocations: 1.417 MB / 0.672 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003617/0.6984, allocations: 2.527 MB / 0.6745 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005939/0.7043, allocations: 3.619 MB / 0.678 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.295e-05/0.7044, allocations: 8 kB / 0.678 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01433/0.7187, allocations: 5.05 MB / 0.683 GB, free: 236 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.004e-05/0.7188, allocations: 20 kB / 0.683 GB, free: 216 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.134e-05/0.7188, allocations: 36 kB / 0.683 GB, free: 180 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006254/0.7251, allocations: 0.7075 MB / 0.6837 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003536/0.7286, allocations: 0.8386 MB / 0.6845 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01759/0.7462, allocations: 10.85 MB / 0.6951 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003095/0.7493, allocations: 124 kB / 0.6952 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004878/0.7498, allocations: 191.9 kB / 0.6954 GB, free: 2.773 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.001225/0.751, allocations: 0.5557 MB / 0.696 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006618/0.7517, allocations: 266.3 kB / 0.6962 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01206/0.7637, allocations: 3.207 MB / 0.6993 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.465e-05/0.7638, allocations: 24 kB / 0.6994 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.551e-05/0.7638, allocations: 4 kB / 0.6994 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.806e-05/0.7638, allocations: 11.95 kB / 0.6994 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004673/0.7685, allocations: 2.219 MB / 0.7015 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/0.7685, allocations: 7.938 kB / 0.7016 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001899/0.7704, allocations: 447.4 kB / 0.702 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006157/0.7766, allocations: 0.6645 MB / 0.7026 GB, free: 11.24 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005195/0.7771, allocations: 83.94 kB / 0.7027 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01637/0.7934, allocations: 10.57 MB / 0.713 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/0.7935, allocations: 7.938 kB / 0.713 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01337/0.8068, allocations: 4.149 MB / 0.7171 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001086/0.8079, allocations: 262 kB / 0.7173 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006479/0.8086, allocations: 48 kB / 0.7174 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001643/0.8102, allocations: 59.98 kB / 0.7174 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004983/0.8107, allocations: 205.5 kB / 0.7176 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002162/0.8109, allocations: 95.95 kB / 0.7177 GB, free: 11 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00314/0.8141, allocations: 2.393 MB / 0.7201 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.8141, allocations: 0 / 0.7201 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.009907/0.824, allocations: 2.111 MB / 0.7221 GB, free: 6.48 MB / 0.5606 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.2496/1.074, allocations: 6.909 MB / 0.7289 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007046/1.081, allocations: 3.647 MB / 0.7324 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.18e-05/1.081, allocations: 1.188 kB / 0.7324 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003089/1.084, allocations: 1.778 MB / 0.7342 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003056/1.087, allocations: 0.5002 MB / 0.7347 GB, free: 174 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05487/1.142, allocations: 26.12 MB / 0.7602 GB, free: 161 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001294/1.143, allocations: 1.171 MB / 0.7613 GB, free: 160.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002334/1.145, allocations: 0.6066 MB / 0.7619 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001569/1.147, allocations: 1.425 MB / 0.7633 GB, free: 159.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.503e-06/1.147, allocations: 0 / 0.7633 GB, free: 159.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1381/1.285, allocations: 98.11 MB / 0.8591 GB, free: 68.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.39/22.67, allocations: 7.078 kB / 0.8591 GB, free: 68.09 MB / 0.5606 GB " [Timeout remaining time 637] (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 os._exit(0), Time elapsed: 25.600434964057058] Failed to read output from testmodel.py, exit status != 0: 22.907391301938333 22.926727307 22.37497463 Calling exit ...