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.0009166/0.0009167, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001177/0.001177, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.33/1.33, allocations: 205.4 MB / 222.1 MB, free: 5.625 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.623/1.623, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005023/0.0005023, allocations: 12.66 kB / 0.6737 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.2311, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus): time 0.05277/0.284, allocations: 57.77 MB / 0.8437 GB, free: 2.012 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01766/0.3017, allocations: 12.02 MB / 0.8554 GB, free: 5.969 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002819/0.3045, allocations: 55.62 kB / 0.8555 GB, free: 5.914 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002809/0.3074, allocations: 0.691 MB / 0.8562 GB, free: 5.219 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0054/0.3128, allocations: 1.546 MB / 0.8577 GB, free: 3.668 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003423/0.3163, allocations: 1.029 MB / 0.8587 GB, free: 2.652 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004813/0.3211, allocations: 3.714 MB / 0.8623 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001594/0.3227, allocations: 0.9318 MB / 0.8632 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002344/0.3251, allocations: 1.104 MB / 0.8643 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001709/0.3268, allocations: 0.9496 MB / 0.8652 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002321/0.327, allocations: 68 kB / 0.8653 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002995/0.33, allocations: 1.197 MB / 0.8664 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004145/0.3305, allocations: 354.6 kB / 0.8668 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005561/0.331, allocations: 340.8 kB / 0.8671 GB, free: 9.957 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002588/0.3336, allocations: 2.128 MB / 0.8692 GB, free: 7.824 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3336, allocations: 0 / 0.8692 GB, free: 7.824 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3336, allocations: 0 / 0.8692 GB, free: 7.824 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.955e-05/0.3337, allocations: 0 / 0.8692 GB, free: 7.824 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.00318/0.3369, allocations: 1.871 MB / 0.871 GB, free: 5.891 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.3369, allocations: 8.031 kB / 0.871 GB, free: 5.883 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002188/0.3391, allocations: 0.5482 MB / 0.8716 GB, free: 5.332 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002473/0.3416, allocations: 1.329 MB / 0.8729 GB, free: 3.953 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006694/0.3423, allocations: 277.2 kB / 0.8731 GB, free: 3.668 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/0.3424, allocations: 91.94 kB / 0.8732 GB, free: 3.578 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002399/0.3448, allocations: 1.24 MB / 0.8744 GB, free: 2.309 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.3449, allocations: 7.922 kB / 0.8744 GB, free: 2.301 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.198e-05/0.345, allocations: 40 kB / 0.8745 GB, free: 2.262 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.217e-05/0.345, allocations: 24 kB / 0.8745 GB, free: 2.238 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00285/0.3479, allocations: 1.331 MB / 0.8758 GB, free: 0.9062 MB / 0.6856 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.007259/0.3551, allocations: 4.543 MB / 0.8802 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006974/0.3621, allocations: 1.964 MB / 0.8821 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000971/0.3631, allocations: 473 kB / 0.8826 GB, free: 9.656 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007979/0.3639, allocations: 1.16 MB / 0.8837 GB, free: 8.238 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001095/0.365, allocations: 0.5379 MB / 0.8843 GB, free: 7.684 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=60): time 2.765e-06/0.3651, allocations: 0 / 0.8843 GB, free: 7.684 MB / 0.7012 GB Notification: Performance of matching and sorting (n=60): time 0.003137/0.3682, allocations: 1.407 MB / 0.8856 GB, free: 6.273 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/0.3683, allocations: 89.67 kB / 0.8857 GB, free: 6.168 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002286/0.3706, allocations: 1.619 MB / 0.8873 GB, free: 4.539 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001024/0.3707, allocations: 37.7 kB / 0.8873 GB, free: 4.496 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005536/0.3712, allocations: 0.6473 MB / 0.888 GB, free: 3.84 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002021/0.3715, allocations: 213 kB / 0.8882 GB, free: 3.629 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.619e-05/0.3715, allocations: 16 kB / 0.8882 GB, free: 3.613 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.3716, allocations: 338 kB / 0.8885 GB, free: 3.277 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001151/0.3728, allocations: 0.4977 MB / 0.889 GB, free: 2.777 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001275/0.3741, allocations: 0.6657 MB / 0.8896 GB, free: 2.055 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.3753, allocations: 0.5341 MB / 0.8902 GB, free: 1.523 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.3753, allocations: 0 / 0.8902 GB, free: 1.523 MB / 0.7012 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002982/0.3783, allocations: 1.331 MB / 0.8915 GB, free: 188 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001344/0.3784, allocations: 154.4 kB / 0.8916 GB, free: 15.99 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.3785, allocations: 7.938 kB / 0.8916 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.624e-05/0.3785, allocations: 7.938 kB / 0.8916 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/0.3795, allocations: 239.6 kB / 0.8919 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.018e-05/0.3795, allocations: 8 kB / 0.8919 GB, free: 15.74 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/0.381, allocations: 246.9 kB / 0.8921 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.3811, allocations: 35.97 kB / 0.8921 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.664e-06/0.3811, allocations: 4 kB / 0.8921 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002596/0.3837, allocations: 1.167 MB / 0.8933 GB, free: 14.29 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.3838, allocations: 4 kB / 0.8933 GB, free: 14.29 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.343e-06/0.3838, allocations: 7.938 kB / 0.8933 GB, free: 14.28 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009396/0.3847, allocations: 236 kB / 0.8935 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.3848, allocations: 7.953 kB / 0.8935 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/0.3862, allocations: 211.1 kB / 0.8937 GB, free: 13.83 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.577e-05/0.3863, allocations: 35.98 kB / 0.8938 GB, free: 13.8 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 ($whenCondition1,$PRE.datRea.nextTimeEvent,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008761/0.3872, allocations: 428.8 kB / 0.8942 GB, free: 13.37 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004318/0.3876, allocations: 154 kB / 0.8943 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002862/0.3905, allocations: 1.286 MB / 0.8956 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.026e-05/0.3906, allocations: 8 kB / 0.8956 GB, free: 11.92 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.3906, allocations: 3.953 kB / 0.8956 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.3906, allocations: 3.984 kB / 0.8956 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005214/0.3958, allocations: 2.723 MB / 0.8982 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.279e-05/0.3958, allocations: 4 kB / 0.8982 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006677/0.3965, allocations: 152.1 kB / 0.8984 GB, free: 8.945 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.355e-05/0.3965, allocations: 4 kB / 0.8984 GB, free: 8.941 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.987e-05/0.3966, allocations: 19.98 kB / 0.8984 GB, free: 8.922 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.646e-06/0.3966, allocations: 4 kB / 0.8984 GB, free: 8.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/0.3966, allocations: 11.92 kB / 0.8984 GB, free: 8.906 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002475/0.3991, allocations: 1.284 MB / 0.8997 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007749/0.3999, allocations: 402.7 kB / 0.9001 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003109/0.4002, allocations: 16 kB / 0.9001 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/0.4013, allocations: 127.8 kB / 0.9002 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.4014, allocations: 56.31 kB / 0.9003 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-05/0.4015, allocations: 31.97 kB / 0.9003 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001804/0.4033, allocations: 1.146 MB / 0.9014 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.31e-07/0.4033, allocations: 0 / 0.9014 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001894/0.4052, allocations: 0.6981 MB / 0.9021 GB, free: 5.094 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00169/0.4069, allocations: 0.7451 MB / 0.9028 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003922/0.4108, allocations: 1.718 MB / 0.9045 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.4108, allocations: 0 / 0.9045 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.4119, allocations: 0.5106 MB / 0.905 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003327/0.4152, allocations: 0.6212 MB / 0.9056 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00479/0.42, allocations: 2.865 MB / 0.9084 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009139/0.421, allocations: 1.235 MB / 0.9096 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00183/0.4228, allocations: 407.1 kB / 0.91 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004609/0.4233, allocations: 123.3 kB / 0.9101 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of SimCode: time 9.92e-07/0.4233, allocations: 0 / 0.9101 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of Templates: time 0.407/0.8303, allocations: 26.62 MB / 0.9361 GB, free: 129.5 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: