Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,fileNamePrefix="Buildings_11_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.004795/0.004795, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001395/0.001395, allocations: 193.9 kB / 16.67 MB, free: 5.969 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.268/1.268, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.426/2.426, allocations: 469.8 MB / 0.7425 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00169/0.001691, allocations: 72.06 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5789/0.5806, allocations: 159.1 MB / 1.22 GB, free: 1.98 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.05312/0.6338, allocations: 61.24 MB / 1.28 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01366/0.6475, allocations: 12.01 MB / 1.292 GB, free: 8.492 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007429/0.6482, allocations: 63.62 kB / 1.292 GB, free: 8.43 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001197/0.6494, allocations: 0.6713 MB / 1.292 GB, free: 7.754 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003193/0.6526, allocations: 1.971 MB / 1.294 GB, free: 5.773 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002055/0.6547, allocations: 1.205 MB / 1.296 GB, free: 4.578 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002742/0.6575, allocations: 3.095 MB / 1.299 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001154/0.6586, allocations: 1.124 MB / 1.3 GB, free: 324 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001968/0.6606, allocations: 1.324 MB / 1.301 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009676/0.6616, allocations: 0.9218 MB / 1.302 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001485/0.6617, allocations: 120 kB / 1.302 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00196/0.6637, allocations: 1.439 MB / 1.303 GB, free: 12.51 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002446/0.664, allocations: 294.9 kB / 1.304 GB, free: 12.22 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0005858/0.6645, allocations: 0.7036 MB / 1.304 GB, free: 11.51 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002369/0.6669, allocations: 2.328 MB / 1.307 GB, free: 9.184 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.6669, allocations: 0 / 1.307 GB, free: 9.184 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.042e-06/0.6669, allocations: 0 / 1.307 GB, free: 9.184 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.889e-06/0.667, allocations: 0 / 1.307 GB, free: 9.184 MB / 1.029 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.002499/0.6695, allocations: 1.785 MB / 1.308 GB, free: 7.336 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.6695, allocations: 12.03 kB / 1.308 GB, free: 7.324 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000127/0.6696, allocations: 122.9 kB / 1.308 GB, free: 7.195 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002112/0.6717, allocations: 459.6 kB / 1.309 GB, free: 6.746 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001775/0.6735, allocations: 1.188 MB / 1.31 GB, free: 5.504 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.625e-05/0.6736, allocations: 66 kB / 1.31 GB, free: 5.438 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.6737, allocations: 83.94 kB / 1.31 GB, free: 5.355 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001825/0.6755, allocations: 1.002 MB / 1.311 GB, free: 4.324 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.6756, allocations: 0 / 1.311 GB, free: 4.324 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.28e-05/0.6756, allocations: 32 kB / 1.311 GB, free: 4.293 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/0.6757, allocations: 20 kB / 1.311 GB, free: 4.273 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002282/0.678, allocations: 0.9446 MB / 1.312 GB, free: 3.324 MB / 1.029 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.005172/0.6831, allocations: 4.693 MB / 1.317 GB, free: 14.29 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003597/0.6867, allocations: 0.9954 MB / 1.318 GB, free: 13.29 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009396/0.6877, allocations: 409.9 kB / 1.318 GB, free: 12.88 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008797/0.6886, allocations: 1.021 MB / 1.319 GB, free: 11.64 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.6886, allocations: 42.98 kB / 1.319 GB, free: 11.59 MB / 1.045 GB Notification: Performance of pre-optimization done (n=53): time 1.453e-06/0.6886, allocations: 0 / 1.319 GB, free: 11.59 MB / 1.045 GB Notification: Performance of matching and sorting (n=53): time 0.008164/0.6968, allocations: 2.166 MB / 1.321 GB, free: 9.391 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.6968, allocations: 59.84 kB / 1.321 GB, free: 9.32 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/0.6979, allocations: 0.947 MB / 1.322 GB, free: 8.355 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.083e-05/0.6979, allocations: 37.7 kB / 1.322 GB, free: 8.312 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003696/0.6983, allocations: 0.5048 MB / 1.323 GB, free: 7.805 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/0.6985, allocations: 190.3 kB / 1.323 GB, free: 7.617 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001965/0.6987, allocations: 134.2 kB / 1.323 GB, free: 7.48 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.6988, allocations: 326 kB / 1.323 GB, free: 7.156 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009344/0.6997, allocations: 358.9 kB / 1.324 GB, free: 6.801 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/0.7009, allocations: 0.5077 MB / 1.324 GB, free: 6.23 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001865/0.7027, allocations: 0.7541 MB / 1.325 GB, free: 5.445 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.7028, allocations: 4 kB / 1.325 GB, free: 5.441 MB / 1.045 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003222/0.706, allocations: 1.061 MB / 1.326 GB, free: 4.367 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.706, allocations: 8 kB / 1.326 GB, free: 4.359 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.706, allocations: 0 / 1.326 GB, free: 4.359 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001687/0.7077, allocations: 300.9 kB / 1.326 GB, free: 4.062 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009474/0.7087, allocations: 139.8 kB / 1.326 GB, free: 3.926 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001298/0.71, allocations: 0.8958 MB / 1.327 GB, free: 3.004 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007479/0.7108, allocations: 123.5 kB / 1.327 GB, free: 2.883 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-05/0.7108, allocations: 35.92 kB / 1.327 GB, free: 2.848 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001143/0.712, allocations: 0.5517 MB / 1.328 GB, free: 2.293 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001057/0.7131, allocations: 0.5113 MB / 1.328 GB, free: 1.723 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001797/0.7149, allocations: 0.7423 MB / 1.329 GB, free: 0.9492 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.286e-06/0.7149, allocations: 4 kB / 1.329 GB, free: 0.9453 MB / 1.045 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002506/0.7174, allocations: 1.057 MB / 1.33 GB, free: 15.87 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.504e-06/0.7174, allocations: 4 kB / 1.33 GB, free: 15.87 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.7174, allocations: 4 kB / 1.33 GB, free: 15.86 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008966/0.7183, allocations: 288.9 kB / 1.331 GB, free: 15.58 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005406/0.7189, allocations: 135.7 kB / 1.331 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001204/0.7201, allocations: 0.8879 MB / 1.332 GB, free: 14.53 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000775/0.7209, allocations: 111.7 kB / 1.332 GB, free: 14.42 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.496e-05/0.7209, allocations: 31.92 kB / 1.332 GB, free: 14.39 MB / 1.061 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.0001653/0.7211, allocations: 228 kB / 1.332 GB, free: 14.16 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/0.7213, allocations: 115.2 kB / 1.332 GB, free: 14.05 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003985/0.7252, allocations: 1.309 MB / 1.333 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.7253, allocations: 4 kB / 1.333 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.7253, allocations: 3.984 kB / 1.333 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.7253, allocations: 4 kB / 1.333 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005016/0.7303, allocations: 2.409 MB / 1.336 GB, free: 10.23 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/0.7303, allocations: 3.984 kB / 1.336 GB, free: 10.23 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004751/0.7308, allocations: 99.84 kB / 1.336 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008237/0.7316, allocations: 300.7 kB / 1.336 GB, free: 9.832 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.43e-05/0.7317, allocations: 19.98 kB / 1.336 GB, free: 9.812 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001262/0.733, allocations: 0.9245 MB / 1.337 GB, free: 8.863 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.733, allocations: 4.031 kB / 1.337 GB, free: 8.859 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0037/0.7367, allocations: 1.332 MB / 1.338 GB, free: 7.484 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003182/0.737, allocations: 280.1 kB / 1.339 GB, free: 7.191 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.7371, allocations: 15.94 kB / 1.339 GB, free: 7.176 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007154/0.7378, allocations: 79.91 kB / 1.339 GB, free: 7.098 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.89e-05/0.7379, allocations: 36.33 kB / 1.339 GB, free: 7.062 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.243e-05/0.738, allocations: 27.97 kB / 1.339 GB, free: 7.035 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0007441/0.7387, allocations: 0.6635 MB / 1.339 GB, free: 6.363 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7387, allocations: 4 kB / 1.339 GB, free: 6.359 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001045/0.7398, allocations: 0.573 MB / 1.34 GB, free: 5.785 MB / 1.061 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.004602/0.7444, allocations: 2.155 MB / 1.342 GB, free: 3.586 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003253/0.7477, allocations: 1.307 MB / 1.343 GB, free: 2.285 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.7477, allocations: 0 / 1.343 GB, free: 2.285 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001139/0.7488, allocations: 456.8 kB / 1.344 GB, free: 1.84 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001781/0.7506, allocations: 0.5014 MB / 1.344 GB, free: 1.352 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01374/0.7644, allocations: 8.266 MB / 1.352 GB, free: 8.852 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006042/0.765, allocations: 1.066 MB / 1.353 GB, free: 7.754 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0006607/0.7656, allocations: 228 kB / 1.354 GB, free: 7.531 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005049/0.7661, allocations: 415.3 kB / 1.354 GB, free: 7.125 MB / 1.076 GB Notification: Performance of SimCode: time 2.6e-07/0.7662, allocations: 4 kB / 1.354 GB, free: 7.121 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.592/3.359, allocations: 33.18 MB / 1.386 GB, free: 6.422 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.1/19.46, allocations: 12.78 kB / 1.386 GB, free: 6.414 MB / 1.107 GB (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow.fmu > Buildings_11_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)