Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001629/0.001629, allocations: 106.6 kB / 16.29 MB, free: 6.43 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.001742/0.001742, allocations: 184 kB / 17.22 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.555/1.555, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.806/1.806, allocations: 292.3 MB / 0.5495 GB, free: 17.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 67.91 kB / 0.6722 GB, free: 6.48 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2403, allocations: 114.6 MB / 0.7841 GB, free: 3.805 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor): time 0.5178/0.7582, allocations: 115.5 MB / 0.8969 GB, free: 0.9492 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03359/0.7918, allocations: 20.72 MB / 0.9171 GB, free: 8 kB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004902/0.7968, allocations: 112.3 kB / 0.9172 GB, free: 15.96 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005087/0.8019, allocations: 1.647 MB / 0.9189 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01197/0.8139, allocations: 3.92 MB / 0.9227 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007862/0.8218, allocations: 2.887 MB / 0.9255 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01301/0.8348, allocations: 7.989 MB / 0.9333 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00503/0.8399, allocations: 2.671 MB / 0.9359 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008773/0.8487, allocations: 3.006 MB / 0.9389 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004748/0.8534, allocations: 2.357 MB / 0.9412 GB, free: 9.902 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001225/0.8547, allocations: 328 kB / 0.9415 GB, free: 9.582 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006404/0.8611, allocations: 2.04 MB / 0.9435 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001328/0.8625, allocations: 0.9423 MB / 0.9444 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002678/0.8652, allocations: 1.839 MB / 0.9462 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.008797/0.874, allocations: 5.546 MB / 0.9516 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.874, allocations: 0 / 0.9516 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.044e-06/0.874, allocations: 0 / 0.9516 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 6.901e-05/0.8741, allocations: 0 / 0.9516 GB, free: 15.18 MB / 0.7481 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.007147/0.8812, allocations: 3.858 MB / 0.9554 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.8813, allocations: 12.03 kB / 0.9554 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002625/0.8839, allocations: 0.5821 MB / 0.9559 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003986/0.8879, allocations: 2.489 MB / 0.9584 GB, free: 8.098 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002861/0.8882, allocations: 306.6 kB / 0.9587 GB, free: 7.773 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000301/0.8885, allocations: 200 kB / 0.9589 GB, free: 7.578 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004487/0.893, allocations: 2.564 MB / 0.9614 GB, free: 4.891 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.955e-05/0.8931, allocations: 8 kB / 0.9614 GB, free: 4.883 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002102/0.8933, allocations: 87.94 kB / 0.9614 GB, free: 4.797 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.867e-05/0.8934, allocations: 59.98 kB / 0.9615 GB, free: 4.738 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004528/0.8979, allocations: 2.223 MB / 0.9637 GB, free: 2.512 MB / 0.7481 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.01436/0.9123, allocations: 11.44 MB / 0.9748 GB, free: 6.574 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002797/0.9151, allocations: 1.313 MB / 0.9761 GB, free: 5.254 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001643/0.9168, allocations: 0.808 MB / 0.9769 GB, free: 4.445 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009959/0.9178, allocations: 1.331 MB / 0.9782 GB, free: 2.82 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002105/0.9199, allocations: 1.054 MB / 0.9792 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=115): time 2.996e-06/0.9199, allocations: 0 / 0.9792 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of matching and sorting (n=115): time 0.006029/0.9259, allocations: 2.383 MB / 0.9816 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002516/0.9262, allocations: 495.6 kB / 0.982 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004155/0.9304, allocations: 2.684 MB / 0.9847 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0002857/0.9307, allocations: 53.7 kB / 0.9847 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001205/0.9319, allocations: 1.303 MB / 0.986 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004614/0.9324, allocations: 406.2 kB / 0.9864 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005743/0.933, allocations: 339.3 kB / 0.9867 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.552e-05/0.9331, allocations: 305.1 kB / 0.987 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00169/0.9348, allocations: 0.7816 MB / 0.9878 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002262/0.937, allocations: 1.305 MB / 0.989 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003516/0.9406, allocations: 1.86 MB / 0.9908 GB, free: 5.297 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.023e-05/0.9406, allocations: 7.062 kB / 0.9909 GB, free: 5.293 MB / 0.7794 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.005094/0.9457, allocations: 2.26 MB / 0.9931 GB, free: 3.016 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.843e-05/0.9458, allocations: 41.64 kB / 0.9931 GB, free: 2.969 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/0.9458, allocations: 8 kB / 0.9931 GB, free: 2.961 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.744e-05/0.9458, allocations: 16 kB / 0.9931 GB, free: 2.945 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001798/0.9476, allocations: 415.7 kB / 0.9935 GB, free: 2.539 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.163e-05/0.9477, allocations: 19.94 kB / 0.9935 GB, free: 2.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002236/0.9499, allocations: 265.7 kB / 0.9938 GB, free: 2.258 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001655/0.9501, allocations: 67.98 kB / 0.9939 GB, free: 2.191 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002655/0.9527, allocations: 1.285 MB / 0.9951 GB, free: 0.9023 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002155/0.9549, allocations: 1.305 MB / 0.9964 GB, free: 15.38 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003442/0.9584, allocations: 1.852 MB / 0.9982 GB, free: 13.39 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.992e-06/0.9584, allocations: 0 / 0.9982 GB, free: 13.39 MB / 0.795 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.004879/0.9633, allocations: 2.245 MB / 1 GB, free: 11.12 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.085e-05/0.9633, allocations: 41.69 kB / 1 GB, free: 11.08 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.9633, allocations: 8 kB / 1 GB, free: 11.07 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.9634, allocations: 20 kB / 1 GB, free: 11.05 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/0.9651, allocations: 407.7 kB / 1.001 GB, free: 10.65 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.458e-05/0.9651, allocations: 19.94 kB / 1.001 GB, free: 10.63 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002142/0.9673, allocations: 207.2 kB / 1.001 GB, free: 10.43 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001559/0.9674, allocations: 71.97 kB / 1.001 GB, free: 10.36 MB / 0.795 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.0004824/0.9679, allocations: 288.8 kB / 1.001 GB, free: 10.07 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006029/0.9685, allocations: 276.6 kB / 1.002 GB, free: 9.797 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004424/0.973, allocations: 2.088 MB / 1.004 GB, free: 7.691 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.873e-05/0.973, allocations: 23.98 kB / 1.004 GB, free: 7.668 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.973, allocations: 0 / 1.004 GB, free: 7.668 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003303/0.9763, allocations: 1.649 MB / 1.005 GB, free: 5.973 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00908/0.9854, allocations: 5.225 MB / 1.01 GB, free: 0.6016 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/0.9855, allocations: 11.94 kB / 1.01 GB, free: 0.5898 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001382/0.9869, allocations: 264.8 kB / 1.011 GB, free: 340 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.399e-05/0.9869, allocations: 12 kB / 1.011 GB, free: 328 kB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001151/0.987, allocations: 39.92 kB / 1.011 GB, free: 288 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.587e-05/0.9871, allocations: 12.92 kB / 1.011 GB, free: 276 kB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.508e-06/0.9871, allocations: 14.06 kB / 1.011 GB, free: 264 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006392/0.9935, allocations: 3.078 MB / 1.014 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001453/0.9949, allocations: 0.5834 MB / 1.014 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006941/0.9957, allocations: 35.92 kB / 1.014 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001982/0.9976, allocations: 115.8 kB / 1.015 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002733/0.9979, allocations: 116.7 kB / 1.015 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001744/0.9981, allocations: 59.95 kB / 1.015 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.003119/1.001, allocations: 1.872 MB / 1.016 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/1.001, allocations: 0 / 1.016 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00373/1.005, allocations: 1.454 MB / 1.018 GB, free: 8.832 MB / 0.8106 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.001373/1.006, allocations: 0.659 MB / 1.019 GB, free: 8.191 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00643/1.013, allocations: 3.023 MB / 1.022 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.29e-05/1.013, allocations: 4.438 kB / 1.022 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.00209/1.015, allocations: 0.9289 MB / 1.022 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006229/1.021, allocations: 1.395 MB / 1.024 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007835/1.029, allocations: 4.783 MB / 1.028 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001369/1.03, allocations: 1.761 MB / 1.03 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002793/1.033, allocations: 0.6999 MB / 1.031 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007058/1.034, allocations: 223.3 kB / 1.031 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of SimCode: time 7.62e-07/1.034, allocations: 0 / 1.031 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of Templates: time 0.09423/1.128, allocations: 56.99 MB / 1.087 GB, free: 3.074 MB / 0.8731 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe 2>&1)