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.001355/0.001355, 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.001586/0.001586, allocations: 216.9 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.1392/0.1392, allocations: 23.9 MB / 337.1 MB, free: 10.94 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.GasSolubility_NIST,fileNamePrefix="Chemical_master_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.002054/0.002054, allocations: 63.89 kB / 471.9 MB, free: 7.469 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3214, allocations: 59.87 MB / 0.5194 GB, free: 9.559 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_NIST): time 0.01357/0.335, allocations: 12.92 MB / 0.532 GB, free: 1.035 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.06619/0.4012, allocations: 43.15 MB / 0.5741 GB, free: 1.59 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003388/0.4046, allocations: 47.62 kB / 0.5741 GB, free: 1.543 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004117/0.4087, allocations: 0.9924 MB / 0.5751 GB, free: 0.543 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01328/0.422, allocations: 3.434 MB / 0.5785 GB, free: 13.08 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02349/0.4455, allocations: 7.079 MB / 0.5854 GB, free: 5.965 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008054/0.4535, allocations: 4.502 MB / 0.5898 GB, free: 1.449 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003428/0.4569, allocations: 1.901 MB / 0.5916 GB, free: 15.49 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003942/0.4609, allocations: 2.1 MB / 0.5937 GB, free: 13.39 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004674/0.4655, allocations: 2.328 MB / 0.596 GB, free: 11.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001388/0.4669, allocations: 384 kB / 0.5963 GB, free: 10.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0196/0.4865, allocations: 5.362 MB / 0.6016 GB, free: 5.305 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001668/0.4882, allocations: 0.884 MB / 0.6024 GB, free: 4.418 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003298/0.4915, allocations: 1.65 MB / 0.604 GB, free: 2.762 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02833/0.5198, allocations: 10.22 MB / 0.614 GB, free: 8.496 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.5198, allocations: 0 / 0.614 GB, free: 8.496 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.5198, allocations: 0 / 0.614 GB, free: 8.496 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001564/0.52, allocations: 0 / 0.614 GB, free: 8.496 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.01059/0.5306, allocations: 4.725 MB / 0.6186 GB, free: 3.711 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.5306, allocations: 16.03 kB / 0.6186 GB, free: 3.695 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.084e-05/0.5307, allocations: 86.31 kB / 0.6187 GB, free: 3.609 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006533/0.5314, allocations: 414.4 kB / 0.6191 GB, free: 3.191 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004638/0.536, allocations: 0.9425 MB / 0.62 GB, free: 2.246 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003375/0.5394, allocations: 1.555 MB / 0.6216 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002153/0.5396, allocations: 234.6 kB / 0.6218 GB, free: 428 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007326/0.5403, allocations: 320.3 kB / 0.6221 GB, free: 108 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008176/0.5485, allocations: 4.535 MB / 0.6265 GB, free: 11.5 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.82e-05/0.5486, allocations: 0 / 0.6265 GB, free: 11.5 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000356/0.5489, allocations: 120 kB / 0.6266 GB, free: 11.38 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.896e-05/0.549, allocations: 76 kB / 0.6267 GB, free: 11.3 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01103/0.56, allocations: 6.482 MB / 0.633 GB, free: 4.797 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.02441/0.5844, allocations: 10.82 MB / 0.6436 GB, free: 9.812 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007829/0.5923, allocations: 3.727 MB / 0.6472 GB, free: 6.07 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002511/0.5948, allocations: 1.175 MB / 0.6484 GB, free: 4.887 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01749/0.6123, allocations: 6.327 MB / 0.6546 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.071e-05/0.6123, allocations: 52.06 kB / 0.6546 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=182): time 5.35e-06/0.6123, allocations: 0 / 0.6546 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=227): time 0.04927/0.6616, allocations: 9.414 MB / 0.6638 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/0.6617, allocations: 132.7 kB / 0.6639 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00503/0.6667, allocations: 3.389 MB / 0.6672 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004403/0.6672, allocations: 61.7 kB / 0.6673 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001464/0.6686, allocations: 1.641 MB / 0.6689 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001258/0.6699, allocations: 0.8251 MB / 0.6697 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001367/0.6713, allocations: 0.6995 MB / 0.6704 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001824/0.6715, allocations: 305.1 kB / 0.6707 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002461/0.6739, allocations: 1.416 MB / 0.6721 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003734/0.6776, allocations: 2.519 MB / 0.6745 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005789/0.6834, allocations: 3.615 MB / 0.6781 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.481e-05/0.6835, allocations: 15.94 kB / 0.6781 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01524/0.6987, allocations: 5.047 MB / 0.683 GB, free: 196 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.917e-05/0.6988, allocations: 20 kB / 0.683 GB, free: 176 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.84e-05/0.6988, allocations: 36.19 kB / 0.6831 GB, free: 140 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006175/0.705, allocations: 0.6996 MB / 0.6837 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003352/0.7083, allocations: 0.8425 MB / 0.6846 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01797/0.7263, allocations: 10.85 MB / 0.6952 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003035/0.7293, allocations: 123.9 kB / 0.6953 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006387/0.73, allocations: 195.9 kB / 0.6955 GB, free: 2.73 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.001551/0.7315, allocations: 0.5479 MB / 0.696 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009074/0.7324, allocations: 266.3 kB / 0.6963 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01195/0.7444, allocations: 3.215 MB / 0.6994 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.315e-05/0.7444, allocations: 24 kB / 0.6994 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.053e-05/0.7445, allocations: 8 kB / 0.6994 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.04e-05/0.7445, allocations: 11.95 kB / 0.6994 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004974/0.7495, allocations: 2.214 MB / 0.7016 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.153e-05/0.7495, allocations: 4 kB / 0.7016 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001936/0.7514, allocations: 451.8 kB / 0.702 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006002/0.7574, allocations: 0.6605 MB / 0.7027 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003639/0.7578, allocations: 79.97 kB / 0.7028 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01595/0.7738, allocations: 10.57 MB / 0.7131 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.7738, allocations: 8.062 kB / 0.7131 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01276/0.7865, allocations: 4.153 MB / 0.7171 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009049/0.7874, allocations: 270 kB / 0.7174 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006927/0.7881, allocations: 48 kB / 0.7174 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001824/0.7899, allocations: 48 kB / 0.7175 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005925/0.7905, allocations: 209.5 kB / 0.7177 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002571/0.7908, allocations: 95.97 kB / 0.7178 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003267/0.7941, allocations: 2.397 MB / 0.7201 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.21e-07/0.7941, allocations: 4 kB / 0.7201 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0073/0.8014, allocations: 2.115 MB / 0.7222 GB, free: 6.438 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.2277/1.029, allocations: 6.906 MB / 0.7289 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006776/1.036, allocations: 3.648 MB / 0.7325 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/1.036, allocations: 1.094 kB / 0.7325 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003004/1.039, allocations: 1.77 MB / 0.7342 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003198/1.042, allocations: 0.5042 MB / 0.7347 GB, free: 174 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0583/1.1, allocations: 26.1 MB / 0.7602 GB, free: 160.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001438/1.102, allocations: 1.172 MB / 0.7614 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002415/1.104, allocations: 0.6108 MB / 0.762 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0017/1.106, allocations: 1.433 MB / 0.7634 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.232e-06/1.106, allocations: 0 / 0.7634 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1497/1.256, allocations: 98.12 MB / 0.8592 GB, free: 67.93 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.34/23.6, allocations: 7.344 kB / 0.8592 GB, free: 67.93 MB / 0.5606 GB " [Timeout remaining time 636] (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: 26.437371736974455] Failed to read output from testmodel.py, exit status != 0: 23.833278516074643 23.852235239 23.328034764 Calling exit ...