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: translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.443/1.443, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.001014/0.001015, allocations: 168.8 kB / 326.5 MB, free: 2.695 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.487/1.487, allocations: 205 MB / 0.5766 GB, free: 21.01 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.0007265/0.0007266, allocations: 98.92 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002961/0.0002962, allocations: 12.02 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1876, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.09529/0.2829, allocations: 124.9 MB / 1.019 GB, free: 6.859 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.01985/0.3028, allocations: 15.63 MB / 1.034 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002577/0.3054, allocations: 63.56 kB / 1.034 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002717/0.3082, allocations: 0.7887 MB / 1.035 GB, free: 6.332 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.006578/0.3148, allocations: 2.371 MB / 1.037 GB, free: 3.957 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005119/0.3199, allocations: 1.927 MB / 1.039 GB, free: 2.047 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.006718/0.3266, allocations: 5.961 MB / 1.045 GB, free: 12.07 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002397/0.3291, allocations: 1.328 MB / 1.046 GB, free: 10.71 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003124/0.3322, allocations: 1.505 MB / 1.048 GB, free: 9.195 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003923/0.3362, allocations: 1.248 MB / 1.049 GB, free: 7.941 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0005668/0.3367, allocations: 72 kB / 1.049 GB, free: 7.871 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004472/0.3412, allocations: 1.883 MB / 1.051 GB, free: 5.984 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006333/0.3419, allocations: 358.4 kB / 1.051 GB, free: 5.633 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.00158/0.3435, allocations: 0.9132 MB / 1.052 GB, free: 4.715 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004146/0.3476, allocations: 2.825 MB / 1.055 GB, free: 1.883 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3477, allocations: 0 / 1.055 GB, free: 1.883 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3477, allocations: 0 / 1.055 GB, free: 1.883 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.545e-05/0.3478, allocations: 0 / 1.055 GB, free: 1.883 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.3604/0.7082, allocations: 2.085 MB / 1.057 GB, free: 155.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.7083, allocations: 9.719 kB / 1.057 GB, free: 155.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005729/0.714, allocations: 0.7543 MB / 1.058 GB, free: 155.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003264/0.7173, allocations: 1.642 MB / 1.059 GB, free: 155.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001837/0.7175, allocations: 133 kB / 1.059 GB, free: 155.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003344/0.7179, allocations: 124.8 kB / 1.059 GB, free: 155.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004337/0.7222, allocations: 1.735 MB / 1.061 GB, free: 155 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.473e-05/0.7223, allocations: 7.875 kB / 1.061 GB, free: 154.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001394/0.7225, allocations: 51.98 kB / 1.061 GB, free: 154.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.081e-05/0.7225, allocations: 35.52 kB / 1.061 GB, free: 154.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004637/0.7271, allocations: 1.541 MB / 1.063 GB, free: 154.9 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.01137/0.7385, allocations: 7.535 MB / 1.07 GB, free: 151.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004793/0.7434, allocations: 1.187 MB / 1.071 GB, free: 150.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002063/0.7455, allocations: 0.5997 MB / 1.072 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001105/0.7466, allocations: 1.282 MB / 1.073 GB, free: 149.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002402/0.749, allocations: 0.6914 MB / 1.074 GB, free: 148.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=80): time 3.537e-06/0.749, allocations: 0 / 1.074 GB, free: 148.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=80): time 0.01794/0.767, allocations: 3.265 MB / 1.077 GB, free: 147.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/0.7671, allocations: 145.2 kB / 1.077 GB, free: 147.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001823/0.7689, allocations: 1.27 MB / 1.078 GB, free: 146.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001848/0.7691, allocations: 49.48 kB / 1.078 GB, free: 146.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004968/0.7696, allocations: 0.7209 MB / 1.079 GB, free: 146.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002308/0.7699, allocations: 283.7 kB / 1.079 GB, free: 145.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.77, allocations: 78.64 kB / 1.079 GB, free: 145.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.088e-05/0.7701, allocations: 341.4 kB / 1.08 GB, free: 145.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001903/0.772, allocations: 0.5331 MB / 1.08 GB, free: 145.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002032/0.774, allocations: 0.8159 MB / 1.081 GB, free: 144.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00368/0.7777, allocations: 1.266 MB / 1.082 GB, free: 143.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/0.7777, allocations: 2.156 kB / 1.082 GB, free: 143.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005093/0.7828, allocations: 1.684 MB / 1.084 GB, free: 143.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001354/0.783, allocations: 275.4 kB / 1.084 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/0.783, allocations: 6.094 kB / 1.084 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002077/0.7851, allocations: 0.5482 MB / 1.085 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/0.7866, allocations: 252 kB / 1.085 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002071/0.7887, allocations: 1.178 MB / 1.086 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002279/0.791, allocations: 238.4 kB / 1.086 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001555/0.7912, allocations: 58.2 kB / 1.086 GB, free: 141.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.7912, allocations: 10.66 kB / 1.086 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004482/0.7957, allocations: 1.522 MB / 1.088 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.7957, allocations: 3.906 kB / 1.088 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001653/0.7974, allocations: 0.5447 MB / 1.088 GB, free: 140.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/0.7987, allocations: 252.6 kB / 1.089 GB, free: 140.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001705/0.8004, allocations: 1.179 MB / 1.09 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002164/0.8026, allocations: 229.4 kB / 1.09 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001621/0.8027, allocations: 54.42 kB / 1.09 GB, free: 139.3 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.0009866/0.8037, allocations: 477.3 kB / 1.09 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005295/0.8043, allocations: 148.7 kB / 1.091 GB, free: 138.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01219/0.8165, allocations: 2.169 MB / 1.093 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.44e-05/0.8165, allocations: 13.66 kB / 1.093 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/0.8166, allocations: 0 / 1.093 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01161/0.8282, allocations: 2 MB / 1.095 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008273/0.8365, allocations: 3.662 MB / 1.098 GB, free: 132 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/0.8365, allocations: 0 / 1.098 GB, free: 132 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/0.8376, allocations: 187.8 kB / 1.098 GB, free: 131.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001677/0.8393, allocations: 0.534 MB / 1.099 GB, free: 131.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/0.8394, allocations: 31.95 kB / 1.099 GB, free: 131.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001659/0.8411, allocations: 1.16 MB / 1.1 GB, free: 130.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.8411, allocations: 7.875 kB / 1.1 GB, free: 130.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004667/0.8458, allocations: 1.615 MB / 1.102 GB, free: 128.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009463/0.8467, allocations: 371.1 kB / 1.102 GB, free: 128 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004186/0.8472, allocations: 20 kB / 1.102 GB, free: 128 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001945/0.8491, allocations: 163.7 kB / 1.102 GB, free: 127.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.8493, allocations: 60.45 kB / 1.102 GB, free: 127.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00013/0.8494, allocations: 51.92 kB / 1.102 GB, free: 127.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001296/0.8507, allocations: 0.8632 MB / 1.103 GB, free: 126.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8507, allocations: 0 / 1.103 GB, free: 126.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003058/0.8538, allocations: 1.004 MB / 1.104 GB, free: 125.9 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.002325/0.8561, allocations: 0.9447 MB / 1.105 GB, free: 125.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006678/0.8628, allocations: 2.053 MB / 1.107 GB, free: 123.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/0.8629, allocations: 0 / 1.107 GB, free: 123.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002094/0.865, allocations: 0.6439 MB / 1.108 GB, free: 122.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004189/0.8692, allocations: 0.7601 MB / 1.109 GB, free: 121.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00564/0.8748, allocations: 3.362 MB / 1.112 GB, free: 118.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006264/0.8755, allocations: 1.255 MB / 1.113 GB, free: 117.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005332/0.8761, allocations: 163.2 kB / 1.113 GB, free: 117 MB / 0.698 GB Notification: Performance of SimCode: time 8.81e-07/0.8761, allocations: 0 / 1.113 GB, free: 117 MB / 0.698 GB Notification: Performance of Templates: time 0.04425/0.9204, allocations: 37.2 MB / 1.15 GB, free: 79.86 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)