Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.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_EnergyPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus") translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000752/0.0007521, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005547/0.005547, allocations: 173.9 kB / 16.27 MB, free: 6.652 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.459/1.459, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.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.761/1.761, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0005157/0.0005158, allocations: 19.84 kB / 0.6743 GB, free: 25.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.232, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus): time 0.05687/0.2889, allocations: 61.14 MB / 0.8476 GB, free: 14.23 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01831/0.3072, allocations: 12.73 MB / 0.86 GB, free: 1.473 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002267/0.3095, allocations: 55.62 kB / 0.8601 GB, free: 1.418 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002306/0.3118, allocations: 0.7965 MB / 0.8608 GB, free: 0.6172 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005219/0.3171, allocations: 1.804 MB / 0.8626 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003296/0.3204, allocations: 1.218 MB / 0.8638 GB, free: 13.6 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005108/0.3255, allocations: 4.28 MB / 0.868 GB, free: 9.305 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001521/0.327, allocations: 1.042 MB / 0.869 GB, free: 8.23 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00198/0.329, allocations: 1.159 MB / 0.8701 GB, free: 7.066 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00122/0.3303, allocations: 1.008 MB / 0.8711 GB, free: 6.055 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001533/0.3304, allocations: 64 kB / 0.8712 GB, free: 5.992 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002949/0.3334, allocations: 1.509 MB / 0.8726 GB, free: 4.48 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003689/0.3338, allocations: 374.4 kB / 0.873 GB, free: 4.113 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008774/0.3347, allocations: 0.798 MB / 0.8738 GB, free: 3.305 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003789/0.3385, allocations: 2.796 MB / 0.8765 GB, free: 0.5 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3385, allocations: 0 / 0.8765 GB, free: 0.5 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.923e-06/0.3385, allocations: 4 kB / 0.8765 GB, free: 0.4961 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.978e-05/0.3385, allocations: 0 / 0.8765 GB, free: 0.4961 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.003411/0.342, allocations: 1.866 MB / 0.8783 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.342, allocations: 12.03 kB / 0.8783 GB, free: 14.56 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002474/0.3445, allocations: 0.5413 MB / 0.8789 GB, free: 14.02 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00252/0.347, allocations: 1.39 MB / 0.8802 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007727/0.3478, allocations: 277.2 kB / 0.8805 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000165/0.348, allocations: 88 kB / 0.8806 GB, free: 12.21 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002704/0.3507, allocations: 1.252 MB / 0.8818 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.3507, allocations: 0 / 0.8818 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.3509, allocations: 36 kB / 0.8818 GB, free: 10.9 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-05/0.3509, allocations: 27.94 kB / 0.8819 GB, free: 10.87 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003494/0.3544, allocations: 1.347 MB / 0.8832 GB, free: 9.523 MB / 0.7012 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.008428/0.3629, allocations: 4.543 MB / 0.8876 GB, free: 4.738 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00808/0.371, allocations: 1.964 MB / 0.8895 GB, free: 2.73 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001153/0.3722, allocations: 474.3 kB / 0.89 GB, free: 2.262 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008386/0.373, allocations: 1.16 MB / 0.8911 GB, free: 0.8438 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001209/0.3742, allocations: 0.5339 MB / 0.8916 GB, free: 304 kB / 0.7012 GB Notification: Performance of pre-optimization done (n=60): time 3.176e-06/0.3743, allocations: 4 kB / 0.8916 GB, free: 300 kB / 0.7012 GB Notification: Performance of matching and sorting (n=60): time 0.003509/0.3778, allocations: 1.422 MB / 0.893 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.3778, allocations: 89.61 kB / 0.8931 GB, free: 14.76 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002533/0.3804, allocations: 1.63 MB / 0.8947 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001016/0.3805, allocations: 45.69 kB / 0.8947 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005428/0.3811, allocations: 0.6356 MB / 0.8954 GB, free: 12.42 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002049/0.3813, allocations: 212.9 kB / 0.8956 GB, free: 12.21 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.3814, allocations: 61.69 kB / 0.8956 GB, free: 12.15 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.3815, allocations: 334 kB / 0.8959 GB, free: 11.82 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001327/0.3828, allocations: 0.5055 MB / 0.8964 GB, free: 11.31 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00145/0.3843, allocations: 0.6774 MB / 0.8971 GB, free: 10.58 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002384/0.3867, allocations: 1.012 MB / 0.8981 GB, free: 9.531 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.3867, allocations: 0 / 0.8981 GB, free: 9.531 MB / 0.7169 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003347/0.3901, allocations: 1.335 MB / 0.8994 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.000102/0.3902, allocations: 158.4 kB / 0.8995 GB, free: 8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.3902, allocations: 4 kB / 0.8996 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.3902, allocations: 8 kB / 0.8996 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/0.3913, allocations: 235.6 kB / 0.8998 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.471e-05/0.3914, allocations: 4 kB / 0.8998 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/0.3929, allocations: 254.9 kB / 0.9 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/0.3931, allocations: 35.98 kB / 0.9001 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/0.3931, allocations: 4 kB / 0.9001 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003021/0.3961, allocations: 1.175 MB / 0.9012 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3961, allocations: 0 / 0.9012 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.3962, allocations: 7.938 kB / 0.9012 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.3972, allocations: 235.8 kB / 0.9014 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/0.3973, allocations: 8 kB / 0.9015 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/0.3987, allocations: 203.1 kB / 0.9017 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.485e-05/0.3988, allocations: 39.97 kB / 0.9017 GB, free: 5.805 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.datRea.nextTimeEvent,$whenCondition1,datRea.nextTimeEventScaled,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * 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.0007212/0.3995, allocations: 432.8 kB / 0.9021 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002977/0.3999, allocations: 162 kB / 0.9023 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002883/0.4027, allocations: 1.278 MB / 0.9035 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.711e-05/0.4028, allocations: 8 kB / 0.9035 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.4028, allocations: 0 / 0.9035 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.4028, allocations: 3.984 kB / 0.9035 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004894/0.4077, allocations: 2.735 MB / 0.9062 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/0.4077, allocations: 4 kB / 0.9062 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000738/0.4085, allocations: 148.1 kB / 0.9063 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.127e-05/0.4085, allocations: 4 kB / 0.9063 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.267e-05/0.4086, allocations: 23.98 kB / 0.9064 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.494e-06/0.4086, allocations: 4 kB / 0.9064 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.4086, allocations: 15.88 kB / 0.9064 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00258/0.4112, allocations: 1.284 MB / 0.9076 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006901/0.4119, allocations: 398.7 kB / 0.908 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000273/0.4122, allocations: 16 kB / 0.908 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001235/0.4134, allocations: 127.9 kB / 0.9081 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.4136, allocations: 56.3 kB / 0.9082 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.657e-05/0.4136, allocations: 31.97 kB / 0.9082 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002027/0.4157, allocations: 1.157 MB / 0.9094 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.3e-07/0.4157, allocations: 8 kB / 0.9094 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002123/0.4178, allocations: 0.702 MB / 0.9101 GB, free: 13.06 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 2 (datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 56 * 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.001785/0.4196, allocations: 0.7637 MB / 0.9108 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004434/0.4241, allocations: 1.726 MB / 0.9125 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/0.4241, allocations: 0 / 0.9125 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001203/0.4253, allocations: 0.5106 MB / 0.913 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004229/0.4296, allocations: 0.6505 MB / 0.9136 GB, free: 9.598 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004938/0.4345, allocations: 2.986 MB / 0.9165 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009342/0.4355, allocations: 1.235 MB / 0.9177 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001754/0.4372, allocations: 406.7 kB / 0.9181 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004642/0.4377, allocations: 123.4 kB / 0.9182 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of SimCode: time 6.01e-07/0.4377, allocations: 0 / 0.9182 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of Templates: time 0.4575/0.8952, allocations: 28.38 MB / 0.946 GB, free: 125.2 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe 2>&1) Environment - environmentSimulation: