Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.687/2.687, allocations: 287.3 MB / 302.3 MB, free: 8.277 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.00159/0.001589, allocations: 191.7 kB / 370.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.14/2.14, allocations: 205.4 MB / 0.6295 GB, free: 10.51 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001198/0.001197, allocations: 96.28 kB / 0.7428 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005033/0.0005037, allocations: 11.5 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.234, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.8336/1.068, allocations: 105.5 MB / 1.081 GB, free: 31.23 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.02796/1.096, allocations: 12.93 MB / 1.094 GB, free: 31.09 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003796/1.1, allocations: 60.19 kB / 1.094 GB, free: 31.09 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004755/1.104, allocations: 0.8247 MB / 1.095 GB, free: 31.09 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01167/1.116, allocations: 2.22 MB / 1.097 GB, free: 31.07 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0101/1.126, allocations: 1.981 MB / 1.099 GB, free: 31.02 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00814/1.134, allocations: 2.721 MB / 1.102 GB, free: 31.01 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003259/1.138, allocations: 1.238 MB / 1.103 GB, free: 30.86 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004993/1.143, allocations: 1.312 MB / 1.104 GB, free: 30.86 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003267/1.146, allocations: 0.8614 MB / 1.105 GB, free: 30.85 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0007405/1.147, allocations: 75.28 kB / 1.105 GB, free: 30.85 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006735/1.154, allocations: 1.214 MB / 1.106 GB, free: 30.85 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001176/1.155, allocations: 332.8 kB / 1.106 GB, free: 30.79 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001267/1.156, allocations: 421.7 kB / 1.107 GB, free: 30.7 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.007804/1.164, allocations: 2.566 MB / 1.109 GB, free: 30.52 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/1.164, allocations: 0 / 1.109 GB, free: 30.52 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.045e-06/1.164, allocations: 4 kB / 1.109 GB, free: 30.51 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001082/1.164, allocations: 0 / 1.109 GB, free: 30.51 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.007438/1.172, allocations: 2.038 MB / 1.111 GB, free: 29.36 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/1.172, allocations: 8.688 kB / 1.111 GB, free: 29.36 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008792/1.173, allocations: 197.7 kB / 1.112 GB, free: 29.31 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01063/1.183, allocations: 0.7461 MB / 1.112 GB, free: 29.19 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004763/1.188, allocations: 1.535 MB / 1.114 GB, free: 28.79 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002365/1.188, allocations: 132.2 kB / 1.114 GB, free: 28.75 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004571/1.189, allocations: 129.1 kB / 1.114 GB, free: 28.75 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007713/1.196, allocations: 1.725 MB / 1.116 GB, free: 28.46 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.114e-05/1.197, allocations: 6.281 kB / 1.116 GB, free: 28.45 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002986/1.197, allocations: 54.12 kB / 1.116 GB, free: 28.45 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.341e-05/1.197, allocations: 36.97 kB / 1.116 GB, free: 28.45 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009305/1.206, allocations: 1.522 MB / 1.117 GB, free: 28.41 MB / 0.6823 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.01956/1.226, allocations: 7.612 MB / 1.125 GB, free: 23.59 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008354/1.234, allocations: 1.178 MB / 1.126 GB, free: 23.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001778/1.236, allocations: 1.274 MB / 1.127 GB, free: 21.78 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004722/1.241, allocations: 0.708 MB / 1.128 GB, free: 21.36 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=80): time 4.879e-06/1.241, allocations: 0 / 1.128 GB, free: 21.36 MB / 0.6823 GB Notification: Performance of matching and sorting (n=80): time 0.035/1.276, allocations: 3.224 MB / 1.131 GB, free: 19.79 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.393e-05/1.276, allocations: 150 kB / 1.131 GB, free: 19.62 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003298/1.279, allocations: 1.305 MB / 1.132 GB, free: 18.89 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004238/1.28, allocations: 50.81 kB / 1.132 GB, free: 18.84 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009646/1.281, allocations: 0.7205 MB / 1.133 GB, free: 18.21 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005927/1.281, allocations: 274.4 kB / 1.133 GB, free: 17.98 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/1.282, allocations: 20 kB / 1.133 GB, free: 17.96 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001056/1.282, allocations: 344.9 kB / 1.134 GB, free: 17.63 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004022/1.286, allocations: 0.527 MB / 1.134 GB, free: 17.37 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004311/1.29, allocations: 0.8061 MB / 1.135 GB, free: 16.77 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004172/1.294, allocations: 0.5918 MB / 1.136 GB, free: 16.47 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.377e-05/1.294, allocations: 2.219 kB / 1.136 GB, free: 16.47 MB / 0.6823 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.01062/1.305, allocations: 1.667 MB / 1.137 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005522/1.306, allocations: 2.399 MB / 1.14 GB, free: 13.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.259e-05/1.306, allocations: 9.297 kB / 1.14 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003578/1.309, allocations: 0.5769 MB / 1.14 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00281/1.312, allocations: 251.5 kB / 1.14 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00347/1.316, allocations: 1.168 MB / 1.142 GB, free: 11.94 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004285/1.32, allocations: 248.6 kB / 1.142 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004602/1.321, allocations: 54.17 kB / 1.142 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/1.321, allocations: 4.094 kB / 1.142 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009787/1.33, allocations: 1.511 MB / 1.143 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.268e-05/1.33, allocations: 6.875 kB / 1.143 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003305/1.334, allocations: 0.5754 MB / 1.144 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002759/1.337, allocations: 249.1 kB / 1.144 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003462/1.34, allocations: 1.185 MB / 1.145 GB, free: 9.859 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004097/1.344, allocations: 225.9 kB / 1.145 GB, free: 9.742 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003761/1.345, allocations: 53.67 kB / 1.146 GB, free: 9.723 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.calDat.nextTimeEvent,calDat.nextTimeEvent,$PRE.calDat.nextTimeEventScaled,calDat.nextTimeEventScaled,$PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 25} Notification: Performance of prepare postOptimizeDAE: time 0.001582/1.346, allocations: 479.7 kB / 1.146 GB, free: 9.355 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006188/1.347, allocations: 151.5 kB / 1.146 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02454/1.371, allocations: 2.163 MB / 1.148 GB, free: 8.152 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.295e-05/1.372, allocations: 9.219 kB / 1.148 GB, free: 8.152 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.849e-06/1.372, allocations: 0 / 1.148 GB, free: 8.152 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02331/1.395, allocations: 2.001 MB / 1.15 GB, free: 7.109 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01546/1.41, allocations: 3.672 MB / 1.154 GB, free: 4.445 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.557e-05/1.41, allocations: 5.656 kB / 1.154 GB, free: 4.441 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002263/1.413, allocations: 180.4 kB / 1.154 GB, free: 4.375 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003242/1.416, allocations: 0.5563 MB / 1.155 GB, free: 4.133 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003393/1.416, allocations: 38.83 kB / 1.155 GB, free: 4.105 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003118/1.42, allocations: 1.156 MB / 1.156 GB, free: 3.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/1.42, allocations: 2.75 kB / 1.156 GB, free: 3.25 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009483/1.429, allocations: 1.713 MB / 1.157 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001564/1.431, allocations: 423.3 kB / 1.158 GB, free: 1.836 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000573/1.431, allocations: 18.12 kB / 1.158 GB, free: 1.824 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00384/1.435, allocations: 155.5 kB / 1.158 GB, free: 1.758 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002673/1.436, allocations: 63.27 kB / 1.158 GB, free: 1.723 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002678/1.436, allocations: 54.52 kB / 1.158 GB, free: 1.695 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00216/1.438, allocations: 0.894 MB / 1.159 GB, free: 1.191 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.01e-07/1.438, allocations: 0 / 1.159 GB, free: 1.191 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005093/1.443, allocations: 0.9768 MB / 1.16 GB, free: 0.9531 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,calDat.nextTimeEvent,calDat.nextTimeEventScaled,heaPum.com.isOn) * Number of discrete states: 3 (calDat.nextTimeEvent,heaPum.com.isOn,calDat.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.01349/1.457, allocations: 3.419 MB / 1.163 GB, free: 14.25 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01383/1.471, allocations: 2.037 MB / 1.165 GB, free: 12.23 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.304e-05/1.471, allocations: 4.375 kB / 1.165 GB, free: 12.23 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00481/1.475, allocations: 0.6356 MB / 1.166 GB, free: 11.59 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007225/1.483, allocations: 0.7568 MB / 1.167 GB, free: 10.84 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01683/1.5, allocations: 8.082 MB / 1.174 GB, free: 2.586 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001281/1.501, allocations: 1.286 MB / 1.176 GB, free: 1.273 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003927/1.505, allocations: 371.8 kB / 1.176 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001948/1.507, allocations: 0.6346 MB / 1.177 GB, free: 284 kB / 0.698 GB Notification: Performance of SimCode: time 1.243e-06/1.507, allocations: 4 kB / 1.177 GB, free: 280 kB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1616/1.668, allocations: 51.24 MB / 1.227 GB, free: 13.58 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004241/1.669, allocations: 255.2 kB / 1.227 GB, free: 13.22 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.988/6.657, allocations: 0 / 1.227 GB, free: 13.22 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater_fmu --startTime=0 --stopTime=142 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)