Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.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.Calibration.ScrollWaterToWater,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater",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.379/1.379, allocations: 251.5 MB / 266.7 MB, free: 11.07 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.0009014/0.0009014, allocations: 174 kB / 325.8 MB, free: 2.715 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.584/1.584, allocations: 205 MB / 0.576 GB, free: 21 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.0007037/0.0007038, allocations: 87.47 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003132/0.0003136, allocations: 11.66 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1851, allocations: 105.4 MB / 0.8962 GB, free: 68.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.1018/0.2869, allocations: 124.9 MB / 1.018 GB, free: 6.758 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02102/0.308, allocations: 15.63 MB / 1.033 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002485/0.3105, allocations: 63.56 kB / 1.034 GB, free: 7.027 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002679/0.3132, allocations: 0.7965 MB / 1.034 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.007613/0.3208, allocations: 2.369 MB / 1.037 GB, free: 3.852 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005679/0.3265, allocations: 1.915 MB / 1.038 GB, free: 1.953 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.007791/0.3343, allocations: 5.954 MB / 1.044 GB, free: 11.98 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002837/0.3372, allocations: 1.34 MB / 1.046 GB, free: 10.61 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004026/0.3413, allocations: 1.501 MB / 1.047 GB, free: 9.102 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002847/0.3442, allocations: 1.252 MB / 1.048 GB, free: 7.844 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0006255/0.3448, allocations: 68 kB / 1.048 GB, free: 7.777 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005167/0.35, allocations: 1.875 MB / 1.05 GB, free: 5.898 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000837/0.3509, allocations: 362.3 kB / 1.051 GB, free: 5.543 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.00216/0.3531, allocations: 0.9171 MB / 1.051 GB, free: 4.621 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.007032/0.3601, allocations: 3.598 MB / 1.055 GB, free: 1.012 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3602, allocations: 0 / 1.055 GB, free: 1.012 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3602, allocations: 0 / 1.055 GB, free: 1.012 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.81e-05/0.3603, allocations: 0 / 1.055 GB, free: 1.012 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: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.3713/0.7316, allocations: 2.092 MB / 1.057 GB, free: 155.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.7317, allocations: 13.75 kB / 1.057 GB, free: 155.9 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003358/0.732, allocations: 186.4 kB / 1.057 GB, free: 155.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005358/0.7374, allocations: 0.7487 MB / 1.058 GB, free: 155.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003262/0.7407, allocations: 1.644 MB / 1.06 GB, free: 155.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001417/0.7408, allocations: 132 kB / 1.06 GB, free: 155.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001959/0.7411, allocations: 123.5 kB / 1.06 GB, free: 155.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003919/0.745, allocations: 1.741 MB / 1.061 GB, free: 155.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.937e-05/0.745, allocations: 3.5 kB / 1.061 GB, free: 155.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001424/0.7452, allocations: 53.38 kB / 1.062 GB, free: 155.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.716e-05/0.7452, allocations: 40.5 kB / 1.062 GB, free: 155.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004503/0.7497, allocations: 1.535 MB / 1.063 GB, free: 155 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.01142/0.7612, allocations: 7.543 MB / 1.07 GB, free: 151 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004385/0.7656, allocations: 1.181 MB / 1.072 GB, free: 150.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002064/0.7677, allocations: 0.6005 MB / 1.072 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001173/0.7689, allocations: 1.285 MB / 1.073 GB, free: 149 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002403/0.7713, allocations: 0.6971 MB / 1.074 GB, free: 148.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=80): time 3.787e-06/0.7713, allocations: 0 / 1.074 GB, free: 148.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=80): time 0.0179/0.7892, allocations: 3.259 MB / 1.077 GB, free: 147.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.7893, allocations: 138.9 kB / 1.077 GB, free: 147.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002083/0.7914, allocations: 1.269 MB / 1.079 GB, free: 146.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001848/0.7916, allocations: 49.56 kB / 1.079 GB, free: 146.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005422/0.7922, allocations: 0.7244 MB / 1.079 GB, free: 145.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002815/0.7925, allocations: 282.4 kB / 1.08 GB, free: 145.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001441/0.7926, allocations: 81.58 kB / 1.08 GB, free: 145.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.25e-05/0.7927, allocations: 343.3 kB / 1.08 GB, free: 145.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001864/0.7946, allocations: 0.5317 MB / 1.081 GB, free: 145 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00203/0.7966, allocations: 0.816 MB / 1.081 GB, free: 144.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00373/0.8003, allocations: 1.258 MB / 1.083 GB, free: 143.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/0.8004, allocations: 1.406 kB / 1.083 GB, free: 143.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005295/0.8057, allocations: 1.693 MB / 1.084 GB, free: 142.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001104/0.8058, allocations: 270.9 kB / 1.085 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.8058, allocations: 5.875 kB / 1.085 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002112/0.808, allocations: 0.5517 MB / 1.085 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/0.8094, allocations: 252.7 kB / 1.085 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001995/0.8114, allocations: 1.175 MB / 1.086 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002225/0.8137, allocations: 241.2 kB / 1.087 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001943/0.8139, allocations: 60.7 kB / 1.087 GB, free: 141.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.8139, allocations: 3.969 kB / 1.087 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004551/0.8185, allocations: 1.522 MB / 1.088 GB, free: 140.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/0.8185, allocations: 3.938 kB / 1.088 GB, free: 140.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001696/0.8202, allocations: 0.5373 MB / 1.089 GB, free: 140.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/0.8215, allocations: 254.8 kB / 1.089 GB, free: 140.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001693/0.8232, allocations: 1.179 MB / 1.09 GB, free: 139.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00209/0.8253, allocations: 232.4 kB / 1.09 GB, free: 139.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001358/0.8254, allocations: 55.28 kB / 1.09 GB, free: 139.1 MB / 0.698 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 ($PRE.calDat.nextTimeEvent,$whenCondition1,heaPum.com.isOn,$PRE.heaPum.com.isOn,calDat.nextTimeEventScaled,$PRE.calDat.nextTimeEventScaled,calDat.nextTimeEvent) * 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 (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 {(4,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0009373/0.8264, allocations: 479.5 kB / 1.091 GB, free: 138.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000535/0.8269, allocations: 151.2 kB / 1.091 GB, free: 138.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01262/0.8395, allocations: 2.174 MB / 1.093 GB, free: 137.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.968e-05/0.8396, allocations: 8 kB / 1.093 GB, free: 137.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.8396, allocations: 3.938 kB / 1.093 GB, free: 137.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01165/0.8513, allocations: 1.998 MB / 1.095 GB, free: 135.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008349/0.8597, allocations: 3.658 MB / 1.099 GB, free: 131.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/0.8597, allocations: 0 / 1.099 GB, free: 131.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009811/0.8607, allocations: 187.8 kB / 1.099 GB, free: 131.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001586/0.8623, allocations: 0.5394 MB / 1.099 GB, free: 130.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.522e-05/0.8624, allocations: 27.95 kB / 1.099 GB, free: 130.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001598/0.864, allocations: 1.162 MB / 1.101 GB, free: 129.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.864, allocations: 7.938 kB / 1.101 GB, free: 129.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004385/0.8684, allocations: 1.62 MB / 1.102 GB, free: 127.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008321/0.8693, allocations: 367.1 kB / 1.103 GB, free: 127.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004008/0.8697, allocations: 19.94 kB / 1.103 GB, free: 127.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001861/0.8716, allocations: 167.7 kB / 1.103 GB, free: 127.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.8717, allocations: 56.53 kB / 1.103 GB, free: 127.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000125/0.8718, allocations: 51.61 kB / 1.103 GB, free: 127.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001124/0.873, allocations: 0.8671 MB / 1.104 GB, free: 126.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.873, allocations: 0 / 1.104 GB, free: 126.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002734/0.8757, allocations: 1.007 MB / 1.105 GB, free: 125.3 MB / 0.698 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 (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 {(4,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006368/0.8821, allocations: 2.993 MB / 1.108 GB, free: 122.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006099/0.8882, allocations: 2.045 MB / 1.11 GB, free: 120.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.8882, allocations: 4 kB / 1.11 GB, free: 120.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0019/0.8901, allocations: 0.6422 MB / 1.11 GB, free: 119.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003791/0.8939, allocations: 0.7613 MB / 1.111 GB, free: 119.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02594/0.9199, allocations: 13.32 MB / 1.124 GB, free: 105.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006327/0.9206, allocations: 1.259 MB / 1.125 GB, free: 104 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001694/0.9223, allocations: 379.8 kB / 1.126 GB, free: 103.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007117/0.923, allocations: 0.6242 MB / 1.126 GB, free: 103 MB / 0.698 GB Notification: Performance of SimCode: time 5.81e-07/0.923, allocations: 0 / 1.126 GB, free: 103 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2496/1.173, allocations: 50.52 MB / 1.175 GB, free: 52.86 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000238/1.173, allocations: 295.3 kB / 1.176 GB, free: 52.47 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.751/4.924, allocations: 4 kB / 1.176 GB, free: 52.47 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater_fmu --startTime=0 --stopTime=142 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)