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.001492/0.001492, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001654/0.001654, allocations: 217.9 kB / 23.04 MB, free: 5.078 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.365/1.365, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.8086/0.8086, allocations: 134 MB / 447.2 MB, free: 10.23 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.001839/0.001839, allocations: 65.34 kB / 0.6193 GB, free: 7.223 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1617, allocations: 85.91 MB / 0.7032 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.397/0.5588, allocations: 71.93 MB / 0.7734 GB, free: 16.05 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02133/0.5801, allocations: 19.11 MB / 0.7921 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003477/0.5836, allocations: 93.62 kB / 0.7922 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002146/0.5857, allocations: 0.8448 MB / 0.793 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007544/0.5933, allocations: 3.07 MB / 0.796 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003655/0.5969, allocations: 1.71 MB / 0.7977 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005373/0.6023, allocations: 4.088 MB / 0.8017 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001811/0.6041, allocations: 1.157 MB / 0.8028 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004274/0.6084, allocations: 1.861 MB / 0.8046 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001914/0.6103, allocations: 1.241 MB / 0.8058 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002132/0.6105, allocations: 175.5 kB / 0.806 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003439/0.6139, allocations: 1.489 MB / 0.8075 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004362/0.6144, allocations: 404.4 kB / 0.8078 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001056/0.6154, allocations: 0.9157 MB / 0.8087 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004387/0.6198, allocations: 3.163 MB / 0.8118 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.6198, allocations: 0 / 0.8118 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6198, allocations: 0 / 0.8118 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.231e-05/0.6198, allocations: 0 / 0.8118 GB, free: 8.512 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.003711/0.6236, allocations: 2.021 MB / 0.8138 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.6236, allocations: 10.88 kB / 0.8138 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.174e-05/0.6236, allocations: 27 kB / 0.8138 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001752/0.6238, allocations: 158.2 kB / 0.814 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002181/0.626, allocations: 459.7 kB / 0.8144 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002768/0.6288, allocations: 1.492 MB / 0.8159 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.134e-05/0.6288, allocations: 86.73 kB / 0.816 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/0.629, allocations: 107.2 kB / 0.8161 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002427/0.6314, allocations: 1.313 MB / 0.8174 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/0.6314, allocations: 6.438 kB / 0.8174 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.987e-05/0.6315, allocations: 43.78 kB / 0.8174 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.188e-05/0.6315, allocations: 28.19 kB / 0.8174 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002539/0.6341, allocations: 1.104 MB / 0.8185 GB, free: 3.879 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.008918/0.643, allocations: 7.38 MB / 0.8257 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003075/0.6461, allocations: 0.7755 MB / 0.8265 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006299/0.6467, allocations: 273.9 kB / 0.8267 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000544/0.6473, allocations: 160.3 kB / 0.8269 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/0.6473, allocations: 39 kB / 0.8269 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=48): time 2.495e-06/0.6473, allocations: 0 / 0.8269 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48): time 0.004752/0.652, allocations: 1.26 MB / 0.8281 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.6521, allocations: 59.83 kB / 0.8282 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002422/0.6545, allocations: 1.553 MB / 0.8297 GB, free: 9.035 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.119e-05/0.6546, allocations: 37.7 kB / 0.8298 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006704/0.6553, allocations: 0.6857 MB / 0.8304 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001888/0.6554, allocations: 178.5 kB / 0.8306 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003101/0.6558, allocations: 170.5 kB / 0.8308 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.6559, allocations: 341.9 kB / 0.8311 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009905/0.6569, allocations: 361.8 kB / 0.8314 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001302/0.6582, allocations: 0.6621 MB / 0.8321 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001895/0.6601, allocations: 0.8906 MB / 0.8329 GB, free: 5.465 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.6601, allocations: 4 kB / 0.833 GB, free: 5.461 MB / 0.5919 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003012/0.6631, allocations: 1.197 MB / 0.8341 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.6632, allocations: 8 kB / 0.8341 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.6632, allocations: 11.94 kB / 0.8341 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008917/0.6641, allocations: 220.7 kB / 0.8344 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007549/0.6648, allocations: 183.7 kB / 0.8345 GB, free: 3.836 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009539/0.6658, allocations: 0.7279 MB / 0.8352 GB, free: 3.082 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/0.6672, allocations: 215.9 kB / 0.8354 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.651e-05/0.6673, allocations: 43.92 kB / 0.8355 GB, free: 2.828 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.0006359/0.668, allocations: 363.7 kB / 0.8358 GB, free: 2.465 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002452/0.6682, allocations: 159 kB / 0.836 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002489/0.6707, allocations: 1.15 MB / 0.8371 GB, free: 1.172 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.785e-05/0.6707, allocations: 8 kB / 0.8371 GB, free: 1.164 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.6707, allocations: 0 / 0.8371 GB, free: 1.164 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.385e-06/0.6707, allocations: 7.984 kB / 0.8371 GB, free: 1.156 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005316/0.6761, allocations: 2.495 MB / 0.8396 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/0.6761, allocations: 4 kB / 0.8396 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003638/0.6764, allocations: 88.06 kB / 0.8396 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007475/0.6772, allocations: 212.6 kB / 0.8398 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.14e-05/0.6772, allocations: 12 kB / 0.8399 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001359/0.6786, allocations: 0.7825 MB / 0.8406 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6786, allocations: 0 / 0.8406 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003379/0.682, allocations: 1.223 MB / 0.8418 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006264/0.6826, allocations: 274.7 kB / 0.8421 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001808/0.6828, allocations: 19.92 kB / 0.8421 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008644/0.6836, allocations: 71.92 kB / 0.8422 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.6837, allocations: 44.42 kB / 0.8422 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.37e-05/0.6838, allocations: 27.98 kB / 0.8422 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001842/0.6856, allocations: 1.09 MB / 0.8433 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.6856, allocations: 0 / 0.8433 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001408/0.6871, allocations: 455.1 kB / 0.8437 GB, free: 10.24 MB / 0.6075 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.004527/0.6916, allocations: 2.12 MB / 0.8458 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002209/0.6938, allocations: 0.8364 MB / 0.8466 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.6938, allocations: 0 / 0.8466 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001298/0.6951, allocations: 423.4 kB / 0.847 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003117/0.6982, allocations: 0.7317 MB / 0.8477 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01835/0.7166, allocations: 10.52 MB / 0.858 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008593/0.7174, allocations: 1.168 MB / 0.8592 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001045/0.7185, allocations: 276.1 kB / 0.8594 GB, free: 9.746 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007913/0.7193, allocations: 0.5422 MB / 0.8599 GB, free: 9.207 MB / 0.6231 GB Notification: Performance of SimCode: time 1.163e-06/0.7193, allocations: 0 / 0.8599 GB, free: 9.207 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08315/0.8024, allocations: 44.51 MB / 0.9034 GB, free: 13.07 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.69/15.5, allocations: 6.25 kB / 0.9034 GB, free: 13.07 MB / 0.67 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 sys.exit(0), Time elapsed: 19.07521745201666] Failed to read output from testmodel.py, exit status != 0: 15.689112053019926 15.71608276 15.091395028 Calling exit ...