Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001317/0.001317, allocations: 188.1 kB / 16.25 MB, free: 6.59 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.376/1.376, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.902/2.902, allocations: 472.6 MB / 0.7448 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 63.05 kB / 0.9115 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3507, allocations: 159.9 MB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor): time 0.1088/0.4595, allocations: 114.6 MB / 1.18 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.03187/0.4915, allocations: 20.75 MB / 1.2 GB, free: 3.047 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005342/0.4968, allocations: 107.4 kB / 1.2 GB, free: 2.941 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.006018/0.5029, allocations: 1.446 MB / 1.201 GB, free: 1.488 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.01302/0.516, allocations: 3.694 MB / 1.205 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.007931/0.5239, allocations: 2.648 MB / 1.208 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01324/0.5372, allocations: 8.111 MB / 1.215 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005209/0.5424, allocations: 2.674 MB / 1.218 GB, free: 300 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008604/0.5511, allocations: 3.01 MB / 1.221 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004742/0.5558, allocations: 2.431 MB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.00105/0.5569, allocations: 328 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006706/0.5636, allocations: 2.067 MB / 1.226 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001228/0.5649, allocations: 0.9462 MB / 1.227 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.003641/0.5685, allocations: 1.859 MB / 1.228 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01096/0.5795, allocations: 5.519 MB / 1.234 GB, free: 100 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.5795, allocations: 0 / 1.234 GB, free: 100 kB / 0.9825 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5796, allocations: 0 / 1.234 GB, free: 100 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001537/0.5797, allocations: 0 / 1.234 GB, free: 100 kB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 0.009797/0.5895, allocations: 3.879 MB / 1.238 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.5896, allocations: 8.031 kB / 1.238 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003069/0.5927, allocations: 0.586 MB / 1.238 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005174/0.5979, allocations: 2.59 MB / 1.241 GB, free: 8.891 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003227/0.5982, allocations: 302.6 kB / 1.241 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003778/0.5986, allocations: 203.9 kB / 1.241 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005232/0.6038, allocations: 2.575 MB / 1.244 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.004e-05/0.6039, allocations: 11.94 kB / 1.244 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002191/0.6041, allocations: 84 kB / 1.244 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.269e-05/0.6042, allocations: 59.98 kB / 1.244 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004586/0.6088, allocations: 2.223 MB / 1.246 GB, free: 3.293 MB / 0.9981 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.6407/1.249, allocations: 11.42 MB / 1.257 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002887/1.252, allocations: 1.306 MB / 1.259 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001747/1.254, allocations: 0.8108 MB / 1.259 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007974/1.255, allocations: 1.32 MB / 1.261 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002174/1.257, allocations: 1.059 MB / 1.262 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=115): time 3.106e-06/1.257, allocations: 3.938 kB / 1.262 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=115): time 0.006082/1.263, allocations: 2.384 MB / 1.264 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/1.263, allocations: 489.2 kB / 1.264 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004212/1.268, allocations: 2.679 MB / 1.267 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003901/1.268, allocations: 56.36 kB / 1.267 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001094/1.269, allocations: 1.329 MB / 1.268 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005216/1.27, allocations: 396.4 kB / 1.269 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006222/1.27, allocations: 344.3 kB / 1.269 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.223e-05/1.27, allocations: 301.9 kB / 1.269 GB, free: 165.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001735/1.272, allocations: 0.7735 MB / 1.27 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002176/1.274, allocations: 1.313 MB / 1.271 GB, free: 163.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003661/1.278, allocations: 1.857 MB / 1.273 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/1.278, allocations: 4.125 kB / 1.273 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.00578/1.284, allocations: 2.254 MB / 1.275 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.651e-05/1.284, allocations: 41.86 kB / 1.275 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.6e-05/1.284, allocations: 11.75 kB / 1.275 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.677e-05/1.284, allocations: 19.31 kB / 1.276 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001958/1.286, allocations: 408.7 kB / 1.276 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.959e-05/1.286, allocations: 24.56 kB / 1.276 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003586/1.29, allocations: 320.4 kB / 1.276 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003391/1.29, allocations: 75.56 kB / 1.276 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004358/1.294, allocations: 1.279 MB / 1.278 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002558/1.297, allocations: 1.299 MB / 1.279 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004/1.301, allocations: 1.85 MB / 1.281 GB, free: 159.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.027e-05/1.301, allocations: 5.531 kB / 1.281 GB, free: 159.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.005733/1.307, allocations: 2.25 MB / 1.283 GB, free: 158.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.228e-05/1.307, allocations: 36.09 kB / 1.283 GB, free: 158.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/1.307, allocations: 14.16 kB / 1.283 GB, free: 158.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.522e-05/1.307, allocations: 21.16 kB / 1.283 GB, free: 158.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001761/1.309, allocations: 409.2 kB / 1.283 GB, free: 158.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.44e-05/1.309, allocations: 30.94 kB / 1.283 GB, free: 158.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003009/1.312, allocations: 261.3 kB / 1.284 GB, free: 158.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001827/1.312, allocations: 67.33 kB / 1.284 GB, free: 158.1 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 6 (uMod.count,$PRE.uMod.count,uMod.T_start,$PRE.uMod.T_start,reaToInt.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 194 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006634/1.312, allocations: 292 kB / 1.284 GB, free: 157.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008697/1.313, allocations: 279.5 kB / 1.284 GB, free: 157.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004836/1.318, allocations: 2.101 MB / 1.286 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-05/1.318, allocations: 17.22 kB / 1.286 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/1.318, allocations: 2.891 kB / 1.286 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003276/1.322, allocations: 1.65 MB / 1.288 GB, free: 156.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01066/1.332, allocations: 5.208 MB / 1.293 GB, free: 153.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.305e-05/1.332, allocations: 6.25 kB / 1.293 GB, free: 153.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001362/1.334, allocations: 268.3 kB / 1.293 GB, free: 153.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-05/1.334, allocations: 9.969 kB / 1.293 GB, free: 153.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001088/1.334, allocations: 38.59 kB / 1.293 GB, free: 153.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.66e-05/1.334, allocations: 15.84 kB / 1.293 GB, free: 153.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/1.334, allocations: 6.625 kB / 1.293 GB, free: 153.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006069/1.34, allocations: 3.093 MB / 1.296 GB, free: 151.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001717/1.342, allocations: 0.5915 MB / 1.297 GB, free: 151.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005138/1.342, allocations: 29.75 kB / 1.297 GB, free: 151.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001946/1.344, allocations: 164.9 kB / 1.297 GB, free: 151.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002492/1.344, allocations: 116.9 kB / 1.297 GB, free: 151.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000155/1.345, allocations: 58.45 kB / 1.297 GB, free: 151.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002699/1.347, allocations: 1.859 MB / 1.299 GB, free: 150.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.41e-07/1.347, allocations: 5.438 kB / 1.299 GB, free: 150.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005285/1.353, allocations: 1.427 MB / 1.3 GB, free: 150.1 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (heaPum.vol1.dynBal.U,heaPum.vol2.dynBal.U,heaPum1.vol1.dynBal.U,heaPum1.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,reaToInt.y,uMod.T_start,uMod.count) * Number of discrete states: 1 (uMod.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001531/1.354, allocations: 0.6518 MB / 1.301 GB, free: 149.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006628/1.361, allocations: 3.172 MB / 1.304 GB, free: 148.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-05/1.361, allocations: 4.406 kB / 1.304 GB, free: 148.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001843/1.363, allocations: 0.9267 MB / 1.305 GB, free: 147.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006865/1.37, allocations: 1.391 MB / 1.306 GB, free: 147.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007904/1.377, allocations: 5.79 MB / 1.312 GB, free: 143.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/1.379, allocations: 1.766 MB / 1.314 GB, free: 142 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003253/1.382, allocations: 0.7201 MB / 1.315 GB, free: 141.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000656/1.382, allocations: 213.7 kB / 1.315 GB, free: 141.7 MB / 0.9981 GB Notification: Performance of SimCode: time 7.42e-07/1.382, allocations: 0 / 1.315 GB, free: 141.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.08272/1.465, allocations: 56.16 MB / 1.37 GB, free: 86.62 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe 2>&1)