Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.353/1.353, allocations: 251.5 MB / 266.7 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009733/0.0009732, allocations: 176.8 kB / 325.8 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.481/1.481, allocations: 205 MB / 0.576 GB, free: 20.95 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008536/0.0008535, allocations: 89.91 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002832/0.0002832, allocations: 16.08 kB / 0.7932 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1531, allocations: 105.4 MB / 0.8962 GB, free: 68.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.09492/0.2481, allocations: 129.6 MB / 1.023 GB, free: 2 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.0309/0.279, allocations: 25.3 MB / 1.047 GB, free: 8.637 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004833/0.2839, allocations: 123.2 kB / 1.048 GB, free: 8.516 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004626/0.2885, allocations: 1.41 MB / 1.049 GB, free: 7.098 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01256/0.3011, allocations: 4.128 MB / 1.053 GB, free: 2.957 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.3717/0.6728, allocations: 3.16 MB / 1.056 GB, free: 42.06 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01461/0.6874, allocations: 11.31 MB / 1.067 GB, free: 42.06 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0053/0.6928, allocations: 2.466 MB / 1.07 GB, free: 41.79 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006606/0.6994, allocations: 2.795 MB / 1.072 GB, free: 41.78 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00461/0.7041, allocations: 2.297 MB / 1.075 GB, free: 41.68 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000755/0.7048, allocations: 129 kB / 1.075 GB, free: 41.68 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005867/0.7107, allocations: 2.575 MB / 1.077 GB, free: 41.68 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006664/0.7114, allocations: 0.6137 MB / 1.078 GB, free: 41.55 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002428/0.7138, allocations: 1.668 MB / 1.079 GB, free: 41.05 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.008054/0.7219, allocations: 6.091 MB / 1.085 GB, free: 40.52 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.7219, allocations: 0 / 1.085 GB, free: 40.52 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.094e-06/0.722, allocations: 0 / 1.085 GB, free: 40.52 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001054/0.7221, allocations: 4 kB / 1.085 GB, free: 40.52 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.006058/0.7281, allocations: 3.403 MB / 1.089 GB, free: 38.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.7282, allocations: 8.375 kB / 1.089 GB, free: 38.7 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005787/0.7288, allocations: 321.8 kB / 1.089 GB, free: 38.64 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01069/0.7395, allocations: 1.455 MB / 1.09 GB, free: 38.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004484/0.744, allocations: 2.894 MB / 1.093 GB, free: 37.81 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002045/0.7442, allocations: 251.2 kB / 1.093 GB, free: 37.74 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003696/0.7446, allocations: 238.3 kB / 1.094 GB, free: 37.73 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007199/0.7518, allocations: 3.212 MB / 1.097 GB, free: 37.23 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.615e-05/0.7519, allocations: 13.39 kB / 1.097 GB, free: 37.22 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002699/0.7521, allocations: 104.3 kB / 1.097 GB, free: 37.22 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001029/0.7522, allocations: 71.52 kB / 1.097 GB, free: 37.22 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009058/0.7613, allocations: 2.89 MB / 1.1 GB, free: 37.16 MB / 0.698 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.01877/0.7801, allocations: 13.63 MB / 1.113 GB, free: 29.81 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004131/0.7843, allocations: 1.51 MB / 1.115 GB, free: 29.55 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002919/0.7873, allocations: 0.9378 MB / 1.116 GB, free: 29.38 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001431/0.7887, allocations: 1.796 MB / 1.117 GB, free: 27.34 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003455/0.7922, allocations: 1.182 MB / 1.118 GB, free: 26.87 MB / 0.698 GB Notification: Performance of pre-optimization done (n=126): time 4.118e-06/0.7922, allocations: 0 / 1.118 GB, free: 26.87 MB / 0.698 GB Notification: Performance of matching and sorting (n=132): time 0.05132/0.8435, allocations: 11.92 MB / 1.13 GB, free: 21.15 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.8437, allocations: 0.5835 MB / 1.131 GB, free: 20.45 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00385/0.8476, allocations: 2.607 MB / 1.133 GB, free: 19.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003082/0.8479, allocations: 62.45 kB / 1.133 GB, free: 19.77 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008652/0.8488, allocations: 1.322 MB / 1.135 GB, free: 19.18 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003678/0.8491, allocations: 464.3 kB / 1.135 GB, free: 18.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001985/0.8493, allocations: 150.8 kB / 1.135 GB, free: 18.71 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 3.363e-05/0.8494, allocations: 305.1 kB / 1.135 GB, free: 18.41 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003468/0.8529, allocations: 1.004 MB / 1.136 GB, free: 17.68 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00384/0.8567, allocations: 1.622 MB / 1.138 GB, free: 16.18 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00666/0.8634, allocations: 2.313 MB / 1.14 GB, free: 14.36 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/0.8634, allocations: 4 kB / 1.14 GB, free: 14.35 MB / 0.698 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.02378/0.8872, allocations: 4.263 MB / 1.144 GB, free: 10.95 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002093/0.8875, allocations: 496.9 kB / 1.145 GB, free: 10.33 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.8875, allocations: 12 kB / 1.145 GB, free: 10.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003614/0.8911, allocations: 1.132 MB / 1.146 GB, free: 9.395 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002616/0.8937, allocations: 469.8 kB / 1.146 GB, free: 8.965 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003701/0.8975, allocations: 2.392 MB / 1.149 GB, free: 7.039 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004924/0.9024, allocations: 412.7 kB / 1.149 GB, free: 6.668 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002455/0.9027, allocations: 112.5 kB / 1.149 GB, free: 6.574 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.9027, allocations: 8 kB / 1.149 GB, free: 6.566 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02215/0.9248, allocations: 3.971 MB / 1.153 GB, free: 2.996 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.519e-05/0.9249, allocations: 12 kB / 1.153 GB, free: 2.984 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003402/0.9283, allocations: 1.126 MB / 1.154 GB, free: 1.863 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002407/0.9307, allocations: 465.6 kB / 1.155 GB, free: 1.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003604/0.9344, allocations: 2.398 MB / 1.157 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00443/0.9388, allocations: 382.7 kB / 1.157 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002324/0.939, allocations: 111.8 kB / 1.158 GB, free: 14.52 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 10 (realToInteger.y,N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum1.com.isOn,$PRE.heaPum1.com.isOn,heaPum.com.isOn,$PRE.heaPum.com.isOn,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(4,25), (4,27)} Notification: Performance of prepare postOptimizeDAE: time 0.001532/0.9406, allocations: 0.703 MB / 1.158 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005991/0.9412, allocations: 280.5 kB / 1.158 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008092/0.9493, allocations: 2.459 MB / 1.161 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.139e-05/0.9493, allocations: 27.78 kB / 1.161 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.9494, allocations: 256 / 1.161 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007104/0.9565, allocations: 2.071 MB / 1.163 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02118/0.9777, allocations: 7.041 MB / 1.17 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-05/0.9777, allocations: 8 kB / 1.17 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001798/0.9795, allocations: 288.9 kB / 1.17 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003445/0.983, allocations: 0.9818 MB / 1.171 GB, free: 0.5938 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001743/0.9832, allocations: 51.88 kB / 1.171 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003596/0.9868, allocations: 2.164 MB / 1.173 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.848e-06/0.9868, allocations: 14.38 kB / 1.173 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01418/1.001, allocations: 3.818 MB / 1.177 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001539/1.003, allocations: 0.5756 MB / 1.178 GB, free: 9.836 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005342/1.003, allocations: 39.94 kB / 1.178 GB, free: 9.797 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003343/1.006, allocations: 290.3 kB / 1.178 GB, free: 9.516 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002017/1.007, allocations: 119.5 kB / 1.178 GB, free: 9.406 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001537/1.007, allocations: 75.92 kB / 1.178 GB, free: 9.332 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.003131/1.01, allocations: 1.832 MB / 1.18 GB, free: 7.5 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.9e-07/1.01, allocations: 0 / 1.18 GB, free: 7.5 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004103/1.014, allocations: 1.527 MB / 1.181 GB, free: 5.973 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 2 (heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum1.com.isOn,N.T_start,N.count,realToInteger.y) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,19), (4,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01498/1.029, allocations: 5.075 MB / 1.186 GB, free: 0.8867 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01244/1.042, allocations: 3.817 MB / 1.19 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/1.042, allocations: 4 kB / 1.19 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.003728/1.045, allocations: 1.117 MB / 1.191 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00931/1.055, allocations: 1.574 MB / 1.193 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08526/1.14, allocations: 29.14 MB / 1.221 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001221/1.141, allocations: 1.717 MB / 1.223 GB, free: 9.613 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.003392/1.145, allocations: 0.6495 MB / 1.223 GB, free: 8.965 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001607/1.146, allocations: 1.179 MB / 1.225 GB, free: 7.785 MB / 0.7761 GB Notification: Performance of SimCode: time 1.112e-06/1.146, allocations: 0 / 1.225 GB, free: 7.785 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3344/1.481, allocations: 100.1 MB / 1.322 GB, free: 4.676 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002193/1.481, allocations: 299 kB / 1.323 GB, free: 4.293 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.56/7.041, allocations: 0 / 1.323 GB, free: 4.293 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)