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.001925/0.001925, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002575/0.002575, allocations: 222.1 kB / 22.25 MB, free: 5.254 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.52/1.52, allocations: 230.6 MB / 256 MB, free: 7.781 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.1745/0.1745, allocations: 23.88 MB / 336.3 MB, free: 10.97 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.GasSolubility_NIST,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_GasSolubility_NIST",fmuType="me",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.002523/0.002523, allocations: 67.03 kB / 471.1 MB, free: 7.523 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3602/0.3627, allocations: 59.87 MB / 0.5185 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_NIST): time 0.01889/0.3816, allocations: 12.92 MB / 0.5312 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.08763/0.4693, allocations: 43.19 MB / 0.5733 GB, free: 1.57 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003121/0.4724, allocations: 43.62 kB / 0.5734 GB, free: 1.527 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003729/0.4761, allocations: 0.9924 MB / 0.5743 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01105/0.4872, allocations: 3.438 MB / 0.5777 GB, free: 13.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01977/0.5069, allocations: 7.071 MB / 0.5846 GB, free: 5.953 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007747/0.5147, allocations: 4.506 MB / 0.589 GB, free: 1.434 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003348/0.518, allocations: 1.925 MB / 0.5909 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004545/0.5226, allocations: 2.092 MB / 0.5929 GB, free: 13.36 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004944/0.5275, allocations: 2.324 MB / 0.5952 GB, free: 11.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001353/0.5289, allocations: 384 kB / 0.5956 GB, free: 10.65 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01761/0.5465, allocations: 5.37 MB / 0.6008 GB, free: 5.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001758/0.5482, allocations: 0.884 MB / 0.6017 GB, free: 4.383 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003035/0.5513, allocations: 1.65 MB / 0.6033 GB, free: 2.727 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02954/0.5808, allocations: 10.22 MB / 0.6133 GB, free: 8.465 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.5808, allocations: 0 / 0.6133 GB, free: 8.465 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.5808, allocations: 0 / 0.6133 GB, free: 8.465 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001614/0.581, allocations: 0 / 0.6133 GB, free: 8.465 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.0105/0.5915, allocations: 4.721 MB / 0.6179 GB, free: 3.684 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.5915, allocations: 15.97 kB / 0.6179 GB, free: 3.668 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006135/0.5921, allocations: 422.4 kB / 0.6183 GB, free: 3.242 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004435/0.5966, allocations: 0.9307 MB / 0.6192 GB, free: 2.309 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003871/0.6005, allocations: 1.555 MB / 0.6207 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002512/0.6007, allocations: 238.5 kB / 0.6209 GB, free: 488 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008419/0.6015, allocations: 320.3 kB / 0.6213 GB, free: 168 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008698/0.6102, allocations: 4.527 MB / 0.6257 GB, free: 11.57 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.181e-05/0.6103, allocations: 4 kB / 0.6257 GB, free: 11.56 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003199/0.6106, allocations: 124 kB / 0.6258 GB, free: 11.44 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.728e-05/0.6107, allocations: 76 kB / 0.6259 GB, free: 11.37 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01083/0.6215, allocations: 6.415 MB / 0.6321 GB, free: 4.926 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.02416/0.6457, allocations: 10.82 MB / 0.6427 GB, free: 9.93 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007749/0.6534, allocations: 3.723 MB / 0.6463 GB, free: 6.191 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002359/0.6558, allocations: 1.171 MB / 0.6475 GB, free: 5.012 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01655/0.6723, allocations: 6.327 MB / 0.6537 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.688e-05/0.6724, allocations: 56 kB / 0.6537 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=182): time 4.168e-06/0.6724, allocations: 0 / 0.6537 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=227): time 0.04878/0.7212, allocations: 9.41 MB / 0.6629 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.7213, allocations: 128.8 kB / 0.663 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004844/0.7261, allocations: 3.47 MB / 0.6664 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003776/0.7265, allocations: 65.7 kB / 0.6665 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001387/0.7279, allocations: 1.641 MB / 0.6681 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001014/0.7289, allocations: 0.8329 MB / 0.6689 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001128/0.73, allocations: 0.6878 MB / 0.6696 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.7302, allocations: 309.1 kB / 0.6699 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002344/0.7325, allocations: 1.424 MB / 0.6712 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003465/0.736, allocations: 2.515 MB / 0.6737 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005755/0.7418, allocations: 3.623 MB / 0.6772 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.896e-05/0.7418, allocations: 8 kB / 0.6773 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01691/0.7587, allocations: 5.05 MB / 0.6822 GB, free: 232 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.817e-05/0.7588, allocations: 22.81 kB / 0.6822 GB, free: 212 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.15e-05/0.7589, allocations: 36.19 kB / 0.6822 GB, free: 176 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006868/0.7657, allocations: 0.7074 MB / 0.6829 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003418/0.7692, allocations: 0.8386 MB / 0.6837 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01852/0.7877, allocations: 10.85 MB / 0.6943 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00351/0.7912, allocations: 116 kB / 0.6945 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000622/0.7918, allocations: 199.9 kB / 0.6946 GB, free: 2.766 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.001282/0.7931, allocations: 0.5513 MB / 0.6952 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007747/0.7939, allocations: 270.2 kB / 0.6954 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01238/0.8062, allocations: 3.203 MB / 0.6986 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-05/0.8063, allocations: 24 kB / 0.6986 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.992e-05/0.8063, allocations: 4 kB / 0.6986 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-05/0.8064, allocations: 15.95 kB / 0.6986 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004718/0.8111, allocations: 2.222 MB / 0.7008 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/0.8111, allocations: 4 kB / 0.7008 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00185/0.8129, allocations: 451.8 kB / 0.7012 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006324/0.8193, allocations: 0.6644 MB / 0.7019 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004472/0.8197, allocations: 79.95 kB / 0.7019 GB, free: 11.15 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01694/0.8366, allocations: 10.57 MB / 0.7123 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/0.8366, allocations: 8.062 kB / 0.7123 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0134/0.85, allocations: 4.157 MB / 0.7163 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008459/0.8509, allocations: 258.1 kB / 0.7166 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005936/0.8515, allocations: 55.98 kB / 0.7166 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001645/0.8531, allocations: 52 kB / 0.7167 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004964/0.8536, allocations: 205.5 kB / 0.7169 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000211/0.8538, allocations: 91.97 kB / 0.717 GB, free: 11 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003149/0.857, allocations: 2.393 MB / 0.7193 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.857, allocations: 0 / 0.7193 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007605/0.8646, allocations: 2.115 MB / 0.7214 GB, free: 6.477 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.2421/1.107, allocations: 6.905 MB / 0.7281 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006348/1.113, allocations: 3.652 MB / 0.7317 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.728e-06/1.113, allocations: 1.531 kB / 0.7317 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002944/1.116, allocations: 1.766 MB / 0.7334 GB, free: 174 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002821/1.119, allocations: 0.496 MB / 0.7339 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05207/1.171, allocations: 26.12 MB / 0.7594 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00131/1.172, allocations: 1.168 MB / 0.7605 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002374/1.175, allocations: 0.6156 MB / 0.7611 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001567/1.176, allocations: 1.43 MB / 0.7625 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.222e-06/1.176, allocations: 0 / 0.7625 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.187/1.363, allocations: 98.61 MB / 0.8588 GB, free: 67.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.88/19.25, allocations: 4.047 kB / 0.8588 GB, free: 67.3 MB / 0.5606 GB " [Timeout remaining time 641] (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: 22.16765648301225] Failed to read output from testmodel.py, exit status != 0: 19.426119408017257 19.434726078 18.851357864 Calling exit ...