Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.965/1.965, allocations: 292.3 MB / 308.1 MB, free: 4.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001565/0.001565, allocations: 192.5 kB / 376.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.512/1.512, allocations: 205.1 MB / 0.6354 GB, free: 9.801 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001191/0.001191, allocations: 101.9 kB / 0.748 GB, free: 61.08 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009674/0.0009674, allocations: 47.92 kB / 0.8703 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2359, allocations: 114.6 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.4827/0.7186, allocations: 60.93 MB / 1.042 GB, free: 66.11 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01517/0.7338, allocations: 11.99 MB / 1.053 GB, free: 64.27 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002274/0.7361, allocations: 53.94 kB / 1.053 GB, free: 64.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001763/0.7379, allocations: 0.5487 MB / 1.054 GB, free: 64.22 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.005572/0.7435, allocations: 1.792 MB / 1.056 GB, free: 63.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.003316/0.7469, allocations: 1.095 MB / 1.057 GB, free: 63.31 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.005697/0.7526, allocations: 3.925 MB / 1.061 GB, free: 62.62 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001907/0.7545, allocations: 0.9335 MB / 1.062 GB, free: 62.46 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002686/0.7572, allocations: 1.187 MB / 1.063 GB, free: 61.98 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001716/0.7589, allocations: 0.9178 MB / 1.064 GB, free: 61.59 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0003058/0.7592, allocations: 56.97 kB / 1.064 GB, free: 61.59 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003188/0.7624, allocations: 1.342 MB / 1.065 GB, free: 61.14 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0004022/0.7629, allocations: 245.2 kB / 1.065 GB, free: 61 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.001155/0.764, allocations: 0.6362 MB / 1.066 GB, free: 60.63 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.003525/0.7676, allocations: 2.268 MB / 1.068 GB, free: 59.78 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.7676, allocations: 3.438 kB / 1.068 GB, free: 59.78 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.62e-07/0.7676, allocations: 0 / 1.068 GB, free: 59.78 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.639e-05/0.7676, allocations: 0 / 1.068 GB, free: 59.78 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002815/0.7704, allocations: 1.76 MB / 1.07 GB, free: 58.59 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.7705, allocations: 9.531 kB / 1.07 GB, free: 58.59 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001961/0.7725, allocations: 408.4 kB / 1.07 GB, free: 58.5 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001913/0.7744, allocations: 1.136 MB / 1.071 GB, free: 57.79 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003259/0.7747, allocations: 121.6 kB / 1.071 GB, free: 57.75 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.7748, allocations: 84.53 kB / 1.071 GB, free: 57.72 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001815/0.7767, allocations: 0.9949 MB / 1.072 GB, free: 57.29 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.7767, allocations: 3.938 kB / 1.072 GB, free: 57.28 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.03e-05/0.7768, allocations: 33.78 kB / 1.073 GB, free: 57.26 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.7768, allocations: 19.31 kB / 1.073 GB, free: 57.26 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002288/0.7791, allocations: 0.9042 MB / 1.073 GB, free: 56.96 MB / 0.7448 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.005466/0.7846, allocations: 4.593 MB / 1.078 GB, free: 53.66 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003317/0.7879, allocations: 0.8436 MB / 1.079 GB, free: 53.42 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007568/0.7887, allocations: 333.3 kB / 1.079 GB, free: 53.31 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004912/0.7892, allocations: 0.9056 MB / 1.08 GB, free: 52.27 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.7892, allocations: 42.31 kB / 1.08 GB, free: 52.22 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=48): time 3.366e-06/0.7892, allocations: 0 / 1.08 GB, free: 52.22 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48): time 0.008283/0.7975, allocations: 2.011 MB / 1.082 GB, free: 51.7 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.217e-05/0.7976, allocations: 54.88 kB / 1.082 GB, free: 51.63 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/0.7989, allocations: 1.056 MB / 1.083 GB, free: 51.2 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.977e-05/0.799, allocations: 36.95 kB / 1.083 GB, free: 51.16 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002714/0.7993, allocations: 0.5383 MB / 1.084 GB, free: 50.73 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.7994, allocations: 165.7 kB / 1.084 GB, free: 50.61 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/0.7996, allocations: 141.8 kB / 1.084 GB, free: 50.54 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.922e-05/0.7997, allocations: 326.2 kB / 1.084 GB, free: 50.22 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008832/0.8006, allocations: 334.9 kB / 1.084 GB, free: 50.12 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009932/0.8016, allocations: 0.5277 MB / 1.085 GB, free: 49.79 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00159/0.8032, allocations: 0.7168 MB / 1.086 GB, free: 49.43 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.8032, allocations: 3.031 kB / 1.086 GB, free: 49.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003545/0.8067, allocations: 1.193 MB / 1.087 GB, free: 49.03 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.8068, allocations: 6.562 kB / 1.087 GB, free: 49.03 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.8068, allocations: 2.875 kB / 1.087 GB, free: 49.03 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001156/0.808, allocations: 313.2 kB / 1.087 GB, free: 48.96 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005426/0.8085, allocations: 136.8 kB / 1.087 GB, free: 48.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001253/0.8098, allocations: 0.9152 MB / 1.088 GB, free: 48.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/0.8112, allocations: 176.6 kB / 1.088 GB, free: 48.23 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.865e-05/0.8112, allocations: 38.95 kB / 1.088 GB, free: 48.22 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001177/0.8124, allocations: 0.5302 MB / 1.089 GB, free: 47.98 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009884/0.8134, allocations: 0.5252 MB / 1.089 GB, free: 47.64 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001645/0.8151, allocations: 0.7134 MB / 1.09 GB, free: 47.29 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.574e-06/0.8151, allocations: 0 / 1.09 GB, free: 47.29 MB / 0.7448 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.003403/0.8185, allocations: 1.176 MB / 1.091 GB, free: 46.9 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.8185, allocations: 6.625 kB / 1.091 GB, free: 46.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.8185, allocations: 3.188 kB / 1.091 GB, free: 46.9 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001/0.8195, allocations: 311.8 kB / 1.092 GB, free: 46.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005348/0.8201, allocations: 131.5 kB / 1.092 GB, free: 46.81 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001188/0.8213, allocations: 0.9101 MB / 1.093 GB, free: 46.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/0.8226, allocations: 169.3 kB / 1.093 GB, free: 46.11 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.143e-05/0.8227, allocations: 32.16 kB / 1.093 GB, free: 46.11 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (56): * Single equations (assignments): 55 * 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.0001801/0.8229, allocations: 210.6 kB / 1.093 GB, free: 45.91 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/0.8231, allocations: 111.5 kB / 1.093 GB, free: 45.85 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003885/0.8269, allocations: 1.211 MB / 1.094 GB, free: 45.45 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.827, allocations: 6.875 kB / 1.094 GB, free: 45.45 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.827, allocations: 0 / 1.094 GB, free: 45.45 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/0.827, allocations: 3.375 kB / 1.094 GB, free: 45.45 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004928/0.8319, allocations: 2.289 MB / 1.097 GB, free: 44.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.832, allocations: 0 / 1.097 GB, free: 44.41 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003233/0.8323, allocations: 77.45 kB / 1.097 GB, free: 44.4 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009572/0.8333, allocations: 308.2 kB / 1.097 GB, free: 44.32 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.836e-05/0.8333, allocations: 17.7 kB / 1.097 GB, free: 44.31 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001302/0.8346, allocations: 0.9466 MB / 1.098 GB, free: 43.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/0.8346, allocations: 7.859 kB / 1.098 GB, free: 43.64 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005484/0.8401, allocations: 2.371 MB / 1.1 GB, free: 42.27 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005383/0.8407, allocations: 270.9 kB / 1.1 GB, free: 42.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/0.8408, allocations: 14.69 kB / 1.1 GB, free: 42.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009105/0.8417, allocations: 103.9 kB / 1.101 GB, free: 42.04 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.8419, allocations: 47.55 kB / 1.101 GB, free: 42.03 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.736e-05/0.8419, allocations: 23.97 kB / 1.101 GB, free: 42.02 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001133/0.8431, allocations: 0.7482 MB / 1.101 GB, free: 41.71 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8431, allocations: 0 / 1.101 GB, free: 41.71 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001718/0.8448, allocations: 0.5784 MB / 1.102 GB, free: 41.58 MB / 0.7448 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 (38): * Single equations (assignments): 33 * 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.0009989/0.8458, allocations: 383.8 kB / 1.102 GB, free: 41.39 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00343/0.8492, allocations: 1.185 MB / 1.103 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.8493, allocations: 0 / 1.103 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.8503, allocations: 396.7 kB / 1.104 GB, free: 40.95 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002508/0.8528, allocations: 0.5177 MB / 1.104 GB, free: 40.81 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004977/0.8578, allocations: 2.816 MB / 1.107 GB, free: 39.14 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004688/0.8583, allocations: 1.083 MB / 1.108 GB, free: 38.41 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001009/0.8593, allocations: 228.8 kB / 1.108 GB, free: 38.35 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001864/0.8595, allocations: 84.69 kB / 1.108 GB, free: 38.33 MB / 0.7448 GB Notification: Performance of SimCode: time 5.51e-07/0.8595, allocations: 0 / 1.108 GB, free: 38.33 MB / 0.7448 GB Notification: Performance of Templates: time 0.0359/0.8954, allocations: 25.3 MB / 1.133 GB, free: 36.19 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)