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.0006889/0.0006889, allocations: 96.38 kB / 19.7 MB, free: 448 kB / 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.0006948/0.0006948, allocations: 211.8 kB / 23 MB, free: 2.977 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.8714/0.8714, allocations: 230.6 MB / 256.8 MB, free: 9.578 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.7288/0.7288, allocations: 203.8 MB / 0.5049 GB, free: 10.41 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: translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [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.0008567/0.0008567, allocations: 66.52 kB / 0.7194 GB, free: 3.535 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4719/0.4728, allocations: 102 MB / 0.819 GB, free: 1.332 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.05193/0.5247, allocations: 65.13 MB / 0.8826 GB, free: 1.953 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01857/0.5433, allocations: 17.57 MB / 0.8998 GB, free: 2.738 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002427/0.5457, allocations: 95.19 kB / 0.8999 GB, free: 2.645 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002047/0.5478, allocations: 0.8267 MB / 0.9007 GB, free: 1.812 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.006475/0.5543, allocations: 3.021 MB / 0.9036 GB, free: 14.78 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00323/0.5575, allocations: 1.724 MB / 0.9053 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004598/0.5621, allocations: 4.058 MB / 0.9093 GB, free: 9 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001461/0.5635, allocations: 1.142 MB / 0.9104 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003589/0.5671, allocations: 2.005 MB / 0.9123 GB, free: 5.809 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001774/0.5689, allocations: 1.135 MB / 0.9134 GB, free: 4.668 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002283/0.5691, allocations: 176 kB / 0.9136 GB, free: 4.496 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002086/0.5712, allocations: 1.154 MB / 0.9147 GB, free: 3.34 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002913/0.5715, allocations: 398.4 kB / 0.9151 GB, free: 2.949 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007621/0.5723, allocations: 0.7272 MB / 0.9158 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003574/0.5758, allocations: 3.11 MB / 0.9189 GB, free: 15.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.5759, allocations: 0 / 0.9189 GB, free: 15.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.274e-06/0.5759, allocations: 0 / 0.9189 GB, free: 15.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.868e-05/0.5759, allocations: 0 / 0.9189 GB, free: 15.1 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.002663/0.5786, allocations: 2.011 MB / 0.9208 GB, free: 13.04 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.5786, allocations: 11.97 kB / 0.9208 GB, free: 13.03 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001197/0.5798, allocations: 459.2 kB / 0.9213 GB, free: 12.58 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001916/0.5817, allocations: 1.519 MB / 0.9228 GB, free: 11.02 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.903e-05/0.5818, allocations: 82.03 kB / 0.9228 GB, free: 10.93 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.804e-05/0.5819, allocations: 100 kB / 0.9229 GB, free: 10.84 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/0.5835, allocations: 1.425 MB / 0.9243 GB, free: 9.277 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.5835, allocations: 3.938 kB / 0.9243 GB, free: 9.273 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.399e-05/0.5836, allocations: 44 kB / 0.9244 GB, free: 9.23 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/0.5836, allocations: 28 kB / 0.9244 GB, free: 9.203 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001629/0.5852, allocations: 1.104 MB / 0.9255 GB, free: 8.094 MB / 0.698 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.005002/0.5902, allocations: 5.386 MB / 0.9307 GB, free: 2.555 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001663/0.5919, allocations: 0.7671 MB / 0.9315 GB, free: 1.781 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003484/0.5922, allocations: 277.9 kB / 0.9318 GB, free: 1.508 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003102/0.5925, allocations: 160.3 kB / 0.9319 GB, free: 1.352 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.5926, allocations: 39 kB / 0.9319 GB, free: 1.305 MB / 0.698 GB Notification: Performance of pre-optimization done (n=48): time 3.547e-06/0.5926, allocations: 0 / 0.9319 GB, free: 1.305 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.002665/0.5952, allocations: 1.233 MB / 0.9331 GB, free: 60 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.5953, allocations: 63.84 kB / 0.9332 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/0.5966, allocations: 1.224 MB / 0.9344 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.481e-05/0.5967, allocations: 37.7 kB / 0.9344 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003632/0.597, allocations: 0.711 MB / 0.9351 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.5971, allocations: 182.4 kB / 0.9353 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001864/0.5973, allocations: 178.4 kB / 0.9355 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.356e-05/0.5974, allocations: 334 kB / 0.9358 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005269/0.5979, allocations: 361.8 kB / 0.9361 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000768/0.5987, allocations: 0.9923 MB / 0.9371 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.5997, allocations: 0.8858 MB / 0.938 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.5997, allocations: 4 kB / 0.938 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001805/0.6015, allocations: 1.173 MB / 0.9391 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.6015, allocations: 8 kB / 0.9391 GB, free: 9.555 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.6016, allocations: 8 kB / 0.9391 GB, free: 9.547 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005767/0.6021, allocations: 216.7 kB / 0.9393 GB, free: 9.332 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003972/0.6025, allocations: 187.7 kB / 0.9395 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005477/0.6031, allocations: 0.724 MB / 0.9402 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007337/0.6038, allocations: 175.4 kB / 0.9404 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.436e-05/0.6039, allocations: 39.98 kB / 0.9404 GB, free: 8.188 MB / 0.7136 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.0004697/0.6044, allocations: 366.4 kB / 0.9408 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001614/0.6045, allocations: 127.2 kB / 0.9409 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001453/0.606, allocations: 1.138 MB / 0.942 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.606e-05/0.606, allocations: 8 kB / 0.942 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.351e-06/0.606, allocations: 0 / 0.942 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.606, allocations: 7.984 kB / 0.942 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002956/0.609, allocations: 2.185 MB / 0.9442 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.609, allocations: 0 / 0.9442 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001877/0.6091, allocations: 79.89 kB / 0.9442 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004695/0.6096, allocations: 216.8 kB / 0.9445 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.404e-05/0.6096, allocations: 20.08 kB / 0.9445 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007346/0.6104, allocations: 0.7708 MB / 0.9452 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.6104, allocations: 4.031 kB / 0.9452 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002018/0.6124, allocations: 1.19 MB / 0.9464 GB, free: 1.969 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003614/0.6128, allocations: 238.9 kB / 0.9466 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.314e-05/0.6129, allocations: 23.86 kB / 0.9466 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003864/0.6132, allocations: 67.92 kB / 0.9467 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.422e-05/0.6133, allocations: 48.36 kB / 0.9468 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.823e-05/0.6133, allocations: 23.98 kB / 0.9468 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009265/0.6143, allocations: 0.8512 MB / 0.9476 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.6143, allocations: 0 / 0.9476 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001017/0.6153, allocations: 478.8 kB / 0.9481 GB, free: 256 kB / 0.7136 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.0005952/0.6159, allocations: 469.3 kB / 0.9485 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001299/0.6172, allocations: 0.8325 MB / 0.9493 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.6172, allocations: 0 / 0.9493 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006677/0.6179, allocations: 423.4 kB / 0.9497 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.619, allocations: 483.8 kB / 0.9502 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002747/0.6217, allocations: 2.285 MB / 0.9524 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005847/0.6223, allocations: 0.5721 MB / 0.953 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000209/0.6225, allocations: 111.3 kB / 0.9531 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of SimCode: time 1.122e-06/0.6225, allocations: 0 / 0.9531 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of Templates: time 0.02861/0.6511, allocations: 31.51 MB / 0.9839 GB, free: 11.67 MB / 0.7605 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.576449763961136] Failed to read output from testmodel.py, exit status != 0: 0.6571556641720235 0.665075824 0.087477205 Calling exit ...