Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.28/1.28, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.318/2.318, allocations: 390.2 MB / 0.6647 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 71.89 kB / 0.8127 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5588/0.5601, allocations: 140.3 MB / 0.9497 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.05777/0.6179, allocations: 61.24 MB / 1.01 GB, free: 4.438 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01544/0.6333, allocations: 12 MB / 1.021 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00201/0.6354, allocations: 59.62 kB / 1.021 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001705/0.6371, allocations: 0.683 MB / 1.022 GB, free: 7.656 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.004833/0.642, allocations: 1.959 MB / 1.024 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002689/0.6447, allocations: 1.204 MB / 1.025 GB, free: 4.492 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003563/0.6483, allocations: 3.075 MB / 1.028 GB, free: 1.41 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00147/0.6497, allocations: 1.124 MB / 1.029 GB, free: 260 kB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002721/0.6525, allocations: 1.321 MB / 1.03 GB, free: 14.93 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001171/0.6537, allocations: 0.9217 MB / 1.031 GB, free: 14 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001684/0.6538, allocations: 124 kB / 1.031 GB, free: 13.88 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00256/0.6564, allocations: 1.439 MB / 1.033 GB, free: 12.44 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0002742/0.6567, allocations: 286.9 kB / 1.033 GB, free: 12.16 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0006787/0.6574, allocations: 0.7113 MB / 1.034 GB, free: 11.45 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.00297/0.6604, allocations: 2.287 MB / 1.036 GB, free: 9.152 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.6604, allocations: 7.938 kB / 1.036 GB, free: 9.145 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6604, allocations: 0 / 1.036 GB, free: 9.145 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.651e-05/0.6604, allocations: 0 / 1.036 GB, free: 9.145 MB / 0.795 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.002879/0.6633, allocations: 1.734 MB / 1.038 GB, free: 7.352 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.6633, allocations: 8.031 kB / 1.038 GB, free: 7.344 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001282/0.6635, allocations: 126.9 kB / 1.038 GB, free: 7.211 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002546/0.666, allocations: 458.5 kB / 1.038 GB, free: 6.762 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001972/0.668, allocations: 1.115 MB / 1.039 GB, free: 5.59 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003526/0.6684, allocations: 113.9 kB / 1.04 GB, free: 5.48 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.6685, allocations: 84 kB / 1.04 GB, free: 5.398 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002092/0.6706, allocations: 1.01 MB / 1.041 GB, free: 4.355 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.6706, allocations: 0 / 1.041 GB, free: 4.355 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.929e-05/0.6707, allocations: 32 kB / 1.041 GB, free: 4.324 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/0.6707, allocations: 16 kB / 1.041 GB, free: 4.309 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002614/0.6734, allocations: 0.9562 MB / 1.042 GB, free: 3.352 MB / 0.795 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.006266/0.6796, allocations: 4.708 MB / 1.046 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004165/0.6838, allocations: 1.014 MB / 1.047 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/0.685, allocations: 417.4 kB / 1.048 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009574/0.6859, allocations: 1.013 MB / 1.049 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.686, allocations: 39 kB / 1.049 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=53): time 2.074e-06/0.686, allocations: 0 / 1.049 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of matching and sorting (n=53): time 0.009772/0.6958, allocations: 2.24 MB / 1.051 GB, free: 9.316 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.6958, allocations: 55.84 kB / 1.051 GB, free: 9.25 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.6971, allocations: 0.9354 MB / 1.052 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 7.058e-05/0.6971, allocations: 41.69 kB / 1.052 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003883/0.6975, allocations: 0.5079 MB / 1.052 GB, free: 7.738 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.6977, allocations: 181.4 kB / 1.052 GB, free: 7.559 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002188/0.6979, allocations: 130 kB / 1.053 GB, free: 7.426 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.698, allocations: 330 kB / 1.053 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.6991, allocations: 366.8 kB / 1.053 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00121/0.7003, allocations: 0.5156 MB / 1.054 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002122/0.7025, allocations: 0.7618 MB / 1.054 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.7025, allocations: 0 / 1.054 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003/0.7055, allocations: 1.076 MB / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.7055, allocations: 4 kB / 1.056 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.7055, allocations: 4 kB / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001262/0.7068, allocations: 308.9 kB / 1.056 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000641/0.7075, allocations: 135.8 kB / 1.056 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001506/0.709, allocations: 0.9074 MB / 1.057 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009998/0.71, allocations: 131.3 kB / 1.057 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.699e-05/0.7101, allocations: 27.98 kB / 1.057 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001326/0.7114, allocations: 0.5596 MB / 1.058 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001159/0.7126, allocations: 0.5155 MB / 1.058 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002051/0.7146, allocations: 0.7541 MB / 1.059 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.234e-06/0.7146, allocations: 0 / 1.059 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002942/0.7176, allocations: 1.064 MB / 1.06 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.7176, allocations: 15.88 kB / 1.06 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.7176, allocations: 0 / 1.06 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001089/0.7187, allocations: 302.5 kB / 1.06 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006424/0.7194, allocations: 135.8 kB / 1.06 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001561/0.7209, allocations: 0.9036 MB / 1.061 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/0.7221, allocations: 111.5 kB / 1.061 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/0.7223, allocations: 31.98 kB / 1.061 GB, free: 14.21 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (55): * Single equations (assignments): 54 * 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.0002801/0.7225, allocations: 212.9 kB / 1.061 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002819/0.7228, allocations: 110.7 kB / 1.062 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004823/0.7277, allocations: 1.331 MB / 1.063 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.564e-05/0.7277, allocations: 8 kB / 1.063 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.625e-05/0.7277, allocations: 3.938 kB / 1.063 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.7277, allocations: 3.984 kB / 1.063 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006205/0.734, allocations: 2.424 MB / 1.065 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.734, allocations: 0 / 1.065 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005642/0.7345, allocations: 108 kB / 1.065 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001022/0.7356, allocations: 298.6 kB / 1.066 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.047e-05/0.7356, allocations: 15.98 kB / 1.066 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001536/0.7372, allocations: 0.9541 MB / 1.067 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.7372, allocations: 4.031 kB / 1.067 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004599/0.7418, allocations: 1.331 MB / 1.068 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000519/0.7423, allocations: 283.5 kB / 1.068 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002305/0.7426, allocations: 15.98 kB / 1.068 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009541/0.7435, allocations: 71.92 kB / 1.068 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.398e-05/0.7436, allocations: 40.38 kB / 1.068 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-05/0.7437, allocations: 23.98 kB / 1.068 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0009616/0.7447, allocations: 0.6674 MB / 1.069 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7447, allocations: 0 / 1.069 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001521/0.7462, allocations: 0.577 MB / 1.07 GB, free: 5.559 MB / 0.8262 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.00538/0.7516, allocations: 2.169 MB / 1.072 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.004076/0.7557, allocations: 1.342 MB / 1.073 GB, free: 2.008 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.7557, allocations: 4 kB / 1.073 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001316/0.757, allocations: 464.8 kB / 1.073 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002383/0.7594, allocations: 0.4922 MB / 1.074 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01764/0.7771, allocations: 8.72 MB / 1.082 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007012/0.7778, allocations: 1.07 MB / 1.083 GB, free: 6.879 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001053/0.7789, allocations: 235.4 kB / 1.084 GB, free: 6.648 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005848/0.7795, allocations: 411.3 kB / 1.084 GB, free: 6.25 MB / 0.8419 GB Notification: Performance of SimCode: time 5.91e-07/0.7795, allocations: 0 / 1.084 GB, free: 6.25 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.642/2.421, allocations: 32.98 MB / 1.116 GB, free: 5.73 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.15/19.57, allocations: 14.3 kB / 1.116 GB, free: 5.719 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)