Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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.001353/0.001353, allocations: 97.88 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.001445/0.001445, allocations: 218.7 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.382/1.382, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8227/0.8227, allocations: 134 MB / 447.2 MB, free: 9.926 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.00187/0.00187, allocations: 61.97 kB / 0.6192 GB, free: 6.887 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1618, allocations: 85.92 MB / 0.7031 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.3898/0.5516, allocations: 64.94 MB / 0.7666 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02067/0.5722, allocations: 17.51 MB / 0.7837 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003567/0.5758, allocations: 99.16 kB / 0.7838 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003245/0.5791, allocations: 0.8236 MB / 0.7846 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008749/0.5878, allocations: 3.034 MB / 0.7875 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004266/0.5921, allocations: 1.698 MB / 0.7892 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00521/0.5973, allocations: 4.085 MB / 0.7932 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00167/0.599, allocations: 1.158 MB / 0.7943 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003832/0.6028, allocations: 1.877 MB / 0.7961 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002193/0.605, allocations: 1.238 MB / 0.7973 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002928/0.6053, allocations: 180.4 kB / 0.7975 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002867/0.6081, allocations: 1.178 MB / 0.7987 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002878/0.6084, allocations: 394.8 kB / 0.799 GB, free: 256 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009548/0.6094, allocations: 0.7228 MB / 0.7998 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005492/0.6149, allocations: 3.126 MB / 0.8028 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.6149, allocations: 0 / 0.8028 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.784e-06/0.6149, allocations: 3.938 kB / 0.8028 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.804e-05/0.6149, allocations: 0 / 0.8028 GB, free: 13.66 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.00373/0.6187, allocations: 2.015 MB / 0.8048 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.6187, allocations: 10.72 kB / 0.8048 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.489e-05/0.6187, allocations: 27.56 kB / 0.8048 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001734/0.6189, allocations: 154 kB / 0.805 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002165/0.6211, allocations: 455 kB / 0.8054 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002789/0.6239, allocations: 1.499 MB / 0.8069 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.314e-05/0.6239, allocations: 82.38 kB / 0.8069 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/0.6241, allocations: 102.5 kB / 0.807 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00247/0.6265, allocations: 1.417 MB / 0.8084 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/0.6266, allocations: 7.938 kB / 0.8084 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.6267, allocations: 43.31 kB / 0.8085 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/0.6267, allocations: 30.12 kB / 0.8085 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002407/0.6291, allocations: 1.094 MB / 0.8096 GB, free: 8.93 MB / 0.5762 GB 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.007988/0.6371, allocations: 5.629 MB / 0.8151 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002906/0.64, allocations: 0.7673 MB / 0.8158 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000544/0.6405, allocations: 268.2 kB / 0.8161 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00052/0.641, allocations: 161.4 kB / 0.8162 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.252e-05/0.6411, allocations: 43.56 kB / 0.8163 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=48): time 2.615e-06/0.6411, allocations: 0 / 0.8163 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.004439/0.6455, allocations: 1.259 MB / 0.8175 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.6456, allocations: 57.69 kB / 0.8175 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002365/0.6479, allocations: 1.554 MB / 0.8191 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.178e-05/0.648, allocations: 37.7 kB / 0.8191 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006325/0.6487, allocations: 0.6818 MB / 0.8198 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000186/0.6488, allocations: 178.5 kB / 0.8199 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003122/0.6492, allocations: 178.5 kB / 0.8201 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.6493, allocations: 337.9 kB / 0.8204 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009364/0.6502, allocations: 361.8 kB / 0.8208 GB, free: 184 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001401/0.6516, allocations: 0.9884 MB / 0.8217 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001716/0.6534, allocations: 0.8858 MB / 0.8226 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/0.6534, allocations: 4 kB / 0.8226 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002979/0.6564, allocations: 1.197 MB / 0.8238 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.6564, allocations: 12 kB / 0.8238 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.6564, allocations: 8 kB / 0.8238 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008734/0.6573, allocations: 228.5 kB / 0.824 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007395/0.658, allocations: 196.5 kB / 0.8242 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000861/0.6589, allocations: 0.7162 MB / 0.8249 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/0.6605, allocations: 219 kB / 0.8251 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.6606, allocations: 43.98 kB / 0.8252 GB, free: 11.34 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0005952/0.6612, allocations: 353.6 kB / 0.8255 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000262/0.6614, allocations: 162.9 kB / 0.8256 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002388/0.6638, allocations: 1.148 MB / 0.8268 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.917e-05/0.6638, allocations: 11.98 kB / 0.8268 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.6638, allocations: 0 / 0.8268 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.6638, allocations: 3.984 kB / 0.8268 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005/0.6688, allocations: 2.304 MB / 0.829 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/0.6689, allocations: 4.188 kB / 0.829 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003606/0.6692, allocations: 87.88 kB / 0.8291 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007714/0.67, allocations: 204.6 kB / 0.8293 GB, free: 6.996 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.212e-05/0.67, allocations: 19.98 kB / 0.8293 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001282/0.6713, allocations: 0.7747 MB / 0.8301 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.6713, allocations: 3.938 kB / 0.8301 GB, free: 6.172 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003396/0.6747, allocations: 1.23 MB / 0.8313 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008119/0.6755, allocations: 282.9 kB / 0.8316 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002025/0.6757, allocations: 19.89 kB / 0.8316 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008623/0.6766, allocations: 79.84 kB / 0.8317 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.343e-05/0.6767, allocations: 40.42 kB / 0.8317 GB, free: 4.492 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.319e-05/0.6768, allocations: 27.98 kB / 0.8317 GB, free: 4.465 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001741/0.6785, allocations: 1.082 MB / 0.8328 GB, free: 3.387 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6785, allocations: 0 / 0.8328 GB, free: 3.387 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001354/0.6799, allocations: 455.1 kB / 0.8332 GB, free: 2.941 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004333/0.6842, allocations: 2.114 MB / 0.8353 GB, free: 0.7812 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00216/0.6863, allocations: 0.8249 MB / 0.8361 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.6863, allocations: 0 / 0.8361 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001202/0.6875, allocations: 427.2 kB / 0.8365 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004401/0.692, allocations: 0.7429 MB / 0.8372 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01825/0.7102, allocations: 10.51 MB / 0.8475 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005833/0.7108, allocations: 0.5875 MB / 0.8481 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001072/0.7119, allocations: 272.1 kB / 0.8483 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007615/0.7126, allocations: 0.5422 MB / 0.8488 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of SimCode: time 1.142e-06/0.7126, allocations: 4 kB / 0.8488 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08107/0.7937, allocations: 46.56 MB / 0.8943 GB, free: 4.609 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.94/15.74, allocations: 3.438 kB / 0.8943 GB, free: 4.609 MB / 0.6544 GB " [Timeout remaining time 644] (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.346295495983213] Failed to read output from testmodel.py, exit status != 0: 15.92743795691058 15.943602318 15.325469656 Calling exit ...