Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001096/0.001096, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 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.001303/0.001303, allocations: 223.2 kB / 22.26 MB, free: 3.707 MB / 13.93 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 0.9441/0.9441, allocations: 230.6 MB / 256 MB, free: 9.801 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7796/0.7796, allocations: 203.8 MB / 0.5042 GB, free: 10.68 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",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.0009433/0.0009433, allocations: 74.78 kB / 0.7182 GB, free: 4.324 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4515/0.4524, allocations: 102 MB / 0.8179 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.04883/0.5012, allocations: 72.06 MB / 0.8882 GB, free: 10.61 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.01713/0.5184, allocations: 19.12 MB / 0.9069 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001375/0.5197, allocations: 95.19 kB / 0.907 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001366/0.5211, allocations: 0.8423 MB / 0.9078 GB, free: 9.59 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003894/0.525, allocations: 3.06 MB / 0.9108 GB, free: 6.52 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002311/0.5273, allocations: 1.751 MB / 0.9125 GB, free: 4.781 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002813/0.5301, allocations: 4.089 MB / 0.9165 GB, free: 0.6836 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001161/0.5313, allocations: 1.153 MB / 0.9176 GB, free: 15.48 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002543/0.5338, allocations: 1.993 MB / 0.9196 GB, free: 13.49 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001372/0.5352, allocations: 1.21 MB / 0.9208 GB, free: 12.28 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002064/0.5354, allocations: 176 kB / 0.9209 GB, free: 12.11 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001885/0.5373, allocations: 1.49 MB / 0.9224 GB, free: 10.61 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003119/0.5376, allocations: 402.4 kB / 0.9228 GB, free: 10.22 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006834/0.5383, allocations: 0.9177 MB / 0.9237 GB, free: 9.297 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002862/0.5411, allocations: 3.156 MB / 0.9267 GB, free: 6.133 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.5411, allocations: 0 / 0.9267 GB, free: 6.133 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.522e-06/0.5411, allocations: 0 / 0.9267 GB, free: 6.133 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.087e-05/0.5412, allocations: 0 / 0.9267 GB, free: 6.133 MB / 0.698 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.002325/0.5435, allocations: 2.019 MB / 0.9287 GB, free: 4.066 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.5435, allocations: 12.03 kB / 0.9287 GB, free: 4.055 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001374/0.5437, allocations: 160.6 kB / 0.9289 GB, free: 3.891 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/0.5448, allocations: 455.2 kB / 0.9293 GB, free: 3.445 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001787/0.5466, allocations: 1.523 MB / 0.9308 GB, free: 1.875 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.988e-05/0.5467, allocations: 78.03 kB / 0.9309 GB, free: 1.797 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.594e-05/0.5468, allocations: 108 kB / 0.931 GB, free: 1.691 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001677/0.5484, allocations: 1.325 MB / 0.9323 GB, free: 264 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/0.5485, allocations: 0 / 0.9323 GB, free: 264 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.896e-05/0.5485, allocations: 44 kB / 0.9323 GB, free: 220 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.75e-05/0.5485, allocations: 24 kB / 0.9323 GB, free: 196 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001565/0.5501, allocations: 1.104 MB / 0.9334 GB, free: 15.08 MB / 0.7136 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.005442/0.5556, allocations: 7.389 MB / 0.9406 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001614/0.5572, allocations: 0.7705 MB / 0.9414 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003523/0.5575, allocations: 270 kB / 0.9416 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002897/0.5578, allocations: 156.3 kB / 0.9418 GB, free: 6 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.5578, allocations: 42.94 kB / 0.9418 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=48): time 1.833e-06/0.5578, allocations: 4 kB / 0.9418 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48): time 0.002503/0.5603, allocations: 1.26 MB / 0.9431 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.5604, allocations: 55.84 kB / 0.9431 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001453/0.5618, allocations: 1.558 MB / 0.9446 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.539e-05/0.5619, allocations: 37.7 kB / 0.9447 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004125/0.5623, allocations: 0.6896 MB / 0.9453 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.526e-05/0.5624, allocations: 182.5 kB / 0.9455 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001766/0.5625, allocations: 170.5 kB / 0.9457 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.796e-05/0.5626, allocations: 337.9 kB / 0.946 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005576/0.5632, allocations: 369.8 kB / 0.9464 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006649/0.5638, allocations: 0.6543 MB / 0.947 GB, free: 484 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.5649, allocations: 0.8897 MB / 0.9479 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.5649, allocations: 4 kB / 0.9479 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001562/0.5665, allocations: 1.197 MB / 0.949 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.5665, allocations: 12 kB / 0.949 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.5665, allocations: 4 kB / 0.949 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004961/0.567, allocations: 224.6 kB / 0.9493 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000386/0.5674, allocations: 195.7 kB / 0.9494 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004939/0.5679, allocations: 0.7162 MB / 0.9501 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006407/0.5685, allocations: 215 kB / 0.9504 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.815e-05/0.5686, allocations: 47.97 kB / 0.9504 GB, free: 12.84 MB / 0.7292 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.0003328/0.5689, allocations: 365.6 kB / 0.9507 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.569, allocations: 155 kB / 0.9509 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00154/0.5706, allocations: 1.15 MB / 0.952 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.5706, allocations: 8 kB / 0.952 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.5706, allocations: 0 / 0.952 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.5706, allocations: 3.984 kB / 0.952 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002794/0.5734, allocations: 2.495 MB / 0.9545 GB, free: 8.594 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/0.5734, allocations: 4 kB / 0.9545 GB, free: 8.59 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001844/0.5736, allocations: 87.81 kB / 0.9546 GB, free: 8.504 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004146/0.574, allocations: 220.8 kB / 0.9548 GB, free: 8.285 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.729e-05/0.574, allocations: 15.98 kB / 0.9548 GB, free: 8.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006492/0.5747, allocations: 0.7747 MB / 0.9555 GB, free: 7.469 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5747, allocations: 0 / 0.9555 GB, free: 7.469 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00169/0.5764, allocations: 1.226 MB / 0.9567 GB, free: 6.203 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003271/0.5767, allocations: 282.6 kB / 0.957 GB, free: 5.926 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.5768, allocations: 19.98 kB / 0.957 GB, free: 5.906 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004245/0.5772, allocations: 71.92 kB / 0.9571 GB, free: 5.836 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.737e-05/0.5773, allocations: 40.42 kB / 0.9571 GB, free: 5.797 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.613e-05/0.5773, allocations: 27.98 kB / 0.9572 GB, free: 5.77 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001043/0.5784, allocations: 1.09 MB / 0.9582 GB, free: 4.684 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.5784, allocations: 0 / 0.9582 GB, free: 4.684 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009207/0.5793, allocations: 451.1 kB / 0.9587 GB, free: 4.242 MB / 0.7292 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.002339/0.5816, allocations: 2.122 MB / 0.9607 GB, free: 2.082 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001155/0.5828, allocations: 0.8319 MB / 0.9615 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5828, allocations: 4.938 kB / 0.9615 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006326/0.5834, allocations: 423 kB / 0.9619 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001626/0.585, allocations: 0.7289 MB / 0.9627 GB, free: 140 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01072/0.5957, allocations: 10.54 MB / 0.973 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004716/0.5962, allocations: 1.172 MB / 0.9741 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0005656/0.5968, allocations: 263.5 kB / 0.9743 GB, free: 3.762 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004995/0.5973, allocations: 0.55 MB / 0.9749 GB, free: 3.211 MB / 0.7448 GB Notification: Performance of SimCode: time 6.82e-07/0.5973, allocations: 0 / 0.9749 GB, free: 3.211 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05039/0.6477, allocations: 44.53 MB / 1.018 GB, free: 7.035 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.08/10.72, allocations: 10.02 kB / 1.018 GB, free: 7.027 MB / 0.7917 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.591041360981762] Failed to read output from testmodel.py, exit status != 0: 10.827795920195058 10.837079894 10.29404296 Calling exit ...