Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL.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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL") translateModel(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 106 kB / 16.41 MB, free: 6.504 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.001115/0.001115, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.265/1.265, 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.6909/0.6909, allocations: 115.3 MB / 406.5 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 65.44 kB / 0.5577 GB, free: 32.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1454, allocations: 76.18 MB / 0.6321 GB, free: 4.414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL): time 0.05363/0.199, allocations: 61.16 MB / 0.6918 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01532/0.2144, allocations: 11.99 MB / 0.7035 GB, free: 11 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001729/0.2162, allocations: 63.62 kB / 0.7036 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001552/0.2178, allocations: 0.6752 MB / 0.7042 GB, free: 10.26 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004511/0.2223, allocations: 1.965 MB / 0.7062 GB, free: 8.289 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002581/0.2249, allocations: 1.206 MB / 0.7073 GB, free: 7.09 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003438/0.2284, allocations: 3.079 MB / 0.7103 GB, free: 4 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00127/0.2296, allocations: 1.096 MB / 0.7114 GB, free: 2.867 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002455/0.2321, allocations: 1.366 MB / 0.7127 GB, free: 1.5 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00107/0.2332, allocations: 0.9041 MB / 0.7136 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001495/0.2333, allocations: 112 kB / 0.7137 GB, free: 496 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002366/0.2357, allocations: 1.474 MB / 0.7152 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002349/0.236, allocations: 298.8 kB / 0.7155 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005681/0.2365, allocations: 0.6958 MB / 0.7161 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002526/0.2391, allocations: 2.322 MB / 0.7184 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2391, allocations: 0 / 0.7184 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2391, allocations: 0 / 0.7184 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.936e-05/0.2391, allocations: 0 / 0.7184 GB, free: 11.69 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002586/0.2417, allocations: 1.73 MB / 0.7201 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.2418, allocations: 12.03 kB / 0.7201 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001589/0.2434, allocations: 347 kB / 0.7204 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001849/0.2452, allocations: 1.16 MB / 0.7216 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.919e-05/0.2453, allocations: 58 kB / 0.7216 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.2454, allocations: 83.98 kB / 0.7217 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/0.2471, allocations: 0.9742 MB / 0.7227 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.2472, allocations: 3.938 kB / 0.7227 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.418e-05/0.2472, allocations: 32 kB / 0.7227 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.813e-05/0.2473, allocations: 20 kB / 0.7227 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001824/0.2491, allocations: 0.8001 MB / 0.7235 GB, free: 6.305 MB / 0.5606 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.005451/0.2545, allocations: 5.152 MB / 0.7285 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.256, allocations: 0.5581 MB / 0.7291 GB, free: 216 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005722/0.2566, allocations: 271.7 kB / 0.7293 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001256/0.2578, allocations: 1.372 MB / 0.7307 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.2579, allocations: 42.5 kB / 0.7307 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 2.003e-06/0.2579, allocations: 0 / 0.7307 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.005423/0.2633, allocations: 1.489 MB / 0.7322 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.2634, allocations: 55.41 kB / 0.7322 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00144/0.2648, allocations: 1.076 MB / 0.7333 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.754e-05/0.2649, allocations: 37.7 kB / 0.7333 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000397/0.2653, allocations: 0.5312 MB / 0.7338 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.2654, allocations: 153.7 kB / 0.734 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002167/0.2656, allocations: 146.1 kB / 0.7341 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.2657, allocations: 326 kB / 0.7344 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007208/0.2665, allocations: 275.3 kB / 0.7347 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008737/0.2674, allocations: 0.4922 MB / 0.7352 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001341/0.2687, allocations: 0.6549 MB / 0.7358 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.2687, allocations: 4 kB / 0.7358 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002246/0.271, allocations: 0.9538 MB / 0.7367 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.271, allocations: 8 kB / 0.7367 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/0.271, allocations: 4 kB / 0.7367 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001182/0.2722, allocations: 324.5 kB / 0.7371 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004417/0.2726, allocations: 111.9 kB / 0.7372 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001344/0.274, allocations: 0.8974 MB / 0.738 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/0.275, allocations: 143.2 kB / 0.7382 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.09e-05/0.2751, allocations: 31.98 kB / 0.7382 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009809/0.2761, allocations: 497.2 kB / 0.7387 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008598/0.277, allocations: 0.4888 MB / 0.7392 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001304/0.2783, allocations: 0.6502 MB / 0.7398 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.255e-06/0.2783, allocations: 0 / 0.7398 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002229/0.2805, allocations: 0.9383 MB / 0.7407 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.2805, allocations: 5.719 kB / 0.7407 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2806, allocations: 8 kB / 0.7407 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009958/0.2816, allocations: 296.7 kB / 0.741 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004364/0.282, allocations: 123.7 kB / 0.7411 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001284/0.2833, allocations: 0.8979 MB / 0.742 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009927/0.2843, allocations: 127.6 kB / 0.7421 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.329e-05/0.2844, allocations: 31.94 kB / 0.7421 GB, free: 2.027 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (57): * Single equations (assignments): 56 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0001909/0.2846, allocations: 231.5 kB / 0.7424 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/0.2847, allocations: 110.6 kB / 0.7425 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002045/0.2868, allocations: 0.8894 MB / 0.7433 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.2868, allocations: 8 kB / 0.7434 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2868, allocations: 0 / 0.7434 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.2868, allocations: 3.984 kB / 0.7434 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2835/0.5704, allocations: 2.197 MB / 0.7455 GB, free: 108.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/0.5704, allocations: 3.328 kB / 0.7455 GB, free: 108.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000213/0.5707, allocations: 55.81 kB / 0.7456 GB, free: 108.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001005/0.5717, allocations: 292.6 kB / 0.7458 GB, free: 108.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.301e-05/0.5717, allocations: 15.08 kB / 0.7458 GB, free: 108.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00139/0.5731, allocations: 0.9341 MB / 0.7468 GB, free: 108.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.5731, allocations: 7.5 kB / 0.7468 GB, free: 108.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004297/0.5774, allocations: 1.228 MB / 0.748 GB, free: 108 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004617/0.5779, allocations: 265.4 kB / 0.7482 GB, free: 108 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001402/0.5781, allocations: 17.64 kB / 0.7482 GB, free: 108 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007221/0.5788, allocations: 60.56 kB / 0.7483 GB, free: 108 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.5789, allocations: 40.81 kB / 0.7483 GB, free: 108 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.536e-05/0.579, allocations: 23.3 kB / 0.7484 GB, free: 108 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001278/0.5802, allocations: 0.755 MB / 0.7491 GB, free: 107.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5803, allocations: 0.7812 kB / 0.7491 GB, free: 107.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001655/0.5819, allocations: 0.5733 MB / 0.7497 GB, free: 107.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008621/0.5828, allocations: 413.4 kB / 0.75 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002831/0.5856, allocations: 1.038 MB / 0.7511 GB, free: 107.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.5856, allocations: 0 / 0.7511 GB, free: 107.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000715/0.5864, allocations: 321 kB / 0.7514 GB, free: 107.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001999/0.5884, allocations: 0.5046 MB / 0.7519 GB, free: 107 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002929/0.5913, allocations: 1.821 MB / 0.7536 GB, free: 106.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006623/0.592, allocations: 1.07 MB / 0.7547 GB, free: 105.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008117/0.5928, allocations: 230.9 kB / 0.7549 GB, free: 105.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002053/0.593, allocations: 79.16 kB / 0.755 GB, free: 105.3 MB / 0.5762 GB Notification: Performance of SimCode: time 4.01e-07/0.593, allocations: 0 / 0.755 GB, free: 105.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.03202/0.6251, allocations: 25.37 MB / 0.7798 GB, free: 89.36 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe 2>&1)