Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 110 kB / 16.41 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 193.2 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.267/1.267, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6725/0.6725, allocations: 115.3 MB / 406.5 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 67.11 kB / 0.5577 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1288, allocations: 76.18 MB / 0.6321 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07428/0.2031, allocations: 70.41 MB / 0.7008 GB, free: 13.75 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02224/0.2254, allocations: 18.94 MB / 0.7193 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0022/0.2277, allocations: 75.56 kB / 0.7194 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00219/0.2299, allocations: 0.8189 MB / 0.7202 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007106/0.237, allocations: 2.848 MB / 0.723 GB, free: 7 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003739/0.2408, allocations: 1.652 MB / 0.7246 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004973/0.2458, allocations: 4.06 MB / 0.7286 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002067/0.2478, allocations: 1.445 MB / 0.73 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003843/0.2517, allocations: 1.807 MB / 0.7317 GB, free: 14 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002265/0.254, allocations: 1.175 MB / 0.7329 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004569/0.2545, allocations: 176 kB / 0.733 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003142/0.2576, allocations: 1.412 MB / 0.7344 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000484/0.2581, allocations: 390.6 kB / 0.7348 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001407/0.2595, allocations: 0.9255 MB / 0.7357 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005227/0.2647, allocations: 3.101 MB / 0.7387 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.2648, allocations: 0 / 0.7387 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.845e-06/0.2648, allocations: 0 / 0.7387 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.418e-05/0.2648, allocations: 0 / 0.7387 GB, free: 6.809 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.003306/0.2681, allocations: 2.027 MB / 0.7407 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.2682, allocations: 8.031 kB / 0.7407 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002133/0.2703, allocations: 446.4 kB / 0.7411 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002306/0.2726, allocations: 1.559 MB / 0.7427 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.131e-05/0.2727, allocations: 78.03 kB / 0.7427 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/0.2728, allocations: 104 kB / 0.7428 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002305/0.2752, allocations: 1.313 MB / 0.7441 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.2752, allocations: 7.938 kB / 0.7441 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.601e-05/0.2753, allocations: 40 kB / 0.7442 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.058e-05/0.2753, allocations: 31.94 kB / 0.7442 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2836/0.5589, allocations: 1.1 MB / 0.7453 GB, free: 110.3 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.007113/0.5661, allocations: 7.485 MB / 0.7526 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002882/0.569, allocations: 0.8078 MB / 0.7534 GB, free: 104.6 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005446/0.5695, allocations: 284 kB / 0.7536 GB, free: 104.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007228/0.5703, allocations: 1.722 MB / 0.7553 GB, free: 102.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.639e-05/0.5703, allocations: 38.41 kB / 0.7554 GB, free: 102.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=48): time 2.024e-06/0.5703, allocations: 0 / 0.7554 GB, free: 102.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.004445/0.5747, allocations: 1.333 MB / 0.7567 GB, free: 102 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.107e-05/0.5748, allocations: 57.39 kB / 0.7567 GB, free: 101.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002139/0.5769, allocations: 1.544 MB / 0.7582 GB, free: 101.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.741e-05/0.577, allocations: 38.8 kB / 0.7583 GB, free: 101.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004088/0.5774, allocations: 0.678 MB / 0.7589 GB, free: 100.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.5775, allocations: 170.7 kB / 0.7591 GB, free: 100.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002411/0.5778, allocations: 171.2 kB / 0.7592 GB, free: 100.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.645e-05/0.5778, allocations: 338.3 kB / 0.7596 GB, free: 100.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008873/0.5787, allocations: 365.9 kB / 0.7599 GB, free: 100.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/0.5797, allocations: 0.6625 MB / 0.7606 GB, free: 99.62 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001509/0.5812, allocations: 0.882 MB / 0.7614 GB, free: 99.07 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.5813, allocations: 2.531 kB / 0.7614 GB, free: 99.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002586/0.5839, allocations: 1.198 MB / 0.7626 GB, free: 98.61 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.5839, allocations: 8.344 kB / 0.7626 GB, free: 98.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.5839, allocations: 10.94 kB / 0.7626 GB, free: 98.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008797/0.5848, allocations: 220.6 kB / 0.7628 GB, free: 98.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008172/0.5856, allocations: 188.2 kB / 0.763 GB, free: 98.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007852/0.5864, allocations: 0.7213 MB / 0.7637 GB, free: 97.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/0.5878, allocations: 221.5 kB / 0.7639 GB, free: 97.88 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.5879, allocations: 39.8 kB / 0.764 GB, free: 97.88 MB / 0.5762 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.0004898/0.5884, allocations: 358.7 kB / 0.7643 GB, free: 97.62 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002125/0.5887, allocations: 155.4 kB / 0.7645 GB, free: 97.54 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002109/0.5908, allocations: 1.136 MB / 0.7656 GB, free: 97.09 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/0.5908, allocations: 9.578 kB / 0.7656 GB, free: 97.09 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.5908, allocations: 1.094 kB / 0.7656 GB, free: 97.09 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.5908, allocations: 5.594 kB / 0.7656 GB, free: 97.09 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005017/0.5958, allocations: 2.508 MB / 0.768 GB, free: 95.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.996e-06/0.5959, allocations: 2.656 kB / 0.768 GB, free: 95.65 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003597/0.5962, allocations: 92.06 kB / 0.7681 GB, free: 95.62 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000734/0.597, allocations: 206.1 kB / 0.7683 GB, free: 95.53 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.131e-05/0.597, allocations: 19.05 kB / 0.7683 GB, free: 95.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001192/0.5982, allocations: 0.7694 MB / 0.7691 GB, free: 94.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.5982, allocations: 5.922 kB / 0.7691 GB, free: 94.86 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003189/0.6014, allocations: 1.202 MB / 0.7703 GB, free: 94.14 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003661/0.6018, allocations: 358 kB / 0.7706 GB, free: 93.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001721/0.602, allocations: 12.41 kB / 0.7706 GB, free: 93.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008241/0.6028, allocations: 69.73 kB / 0.7707 GB, free: 93.78 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.864e-05/0.6029, allocations: 43.59 kB / 0.7707 GB, free: 93.76 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.796e-05/0.603, allocations: 26.95 kB / 0.7707 GB, free: 93.75 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001465/0.6045, allocations: 1.087 MB / 0.7718 GB, free: 93.16 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6045, allocations: 3.938 kB / 0.7718 GB, free: 93.15 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001178/0.6056, allocations: 446.2 kB / 0.7722 GB, free: 93.07 MB / 0.5762 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.0008672/0.6065, allocations: 481.7 kB / 0.7727 GB, free: 92.87 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001966/0.6085, allocations: 0.8462 MB / 0.7735 GB, free: 92.49 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.6085, allocations: 0 / 0.7735 GB, free: 92.49 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001168/0.6097, allocations: 440.8 kB / 0.7739 GB, free: 92.29 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002549/0.6122, allocations: 0.7439 MB / 0.7747 GB, free: 91.93 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002708/0.615, allocations: 2.256 MB / 0.7769 GB, free: 90.57 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004005/0.6154, allocations: 1.175 MB / 0.778 GB, free: 89.66 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006617/0.616, allocations: 262.8 kB / 0.7783 GB, free: 89.54 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002086/0.6163, allocations: 114.2 kB / 0.7784 GB, free: 89.52 MB / 0.5762 GB Notification: Performance of SimCode: time 2.71e-07/0.6163, allocations: 0 / 0.7784 GB, free: 89.52 MB / 0.5762 GB Notification: Performance of Templates: time 0.03476/0.651, allocations: 31.75 MB / 0.8094 GB, free: 59.35 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)