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.0009948/0.0009948, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0008971/0.0008971, allocations: 177.3 kB / 15.95 MB, free: 216 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.387/1.387, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.63/1.63, allocations: 292.5 MB / 0.5497 GB, free: 14.62 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.0004867/0.0004869, allocations: 20.91 kB / 0.6735 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2452, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus): time 0.05018/0.2955, allocations: 52.45 MB / 0.8383 GB, free: 7.387 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01652/0.312, allocations: 11.09 MB / 0.8492 GB, free: 12.28 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001916/0.314, allocations: 59.62 kB / 0.8492 GB, free: 12.22 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002519/0.3165, allocations: 0.8746 MB / 0.8501 GB, free: 11.34 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006742/0.3233, allocations: 2.064 MB / 0.8521 GB, free: 9.273 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004658/0.328, allocations: 1.643 MB / 0.8537 GB, free: 7.66 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004296/0.3323, allocations: 2.148 MB / 0.8558 GB, free: 5.508 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001447/0.3337, allocations: 0.9515 MB / 0.8567 GB, free: 4.531 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001981/0.3357, allocations: 1.02 MB / 0.8577 GB, free: 3.508 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009726/0.3367, allocations: 0.7156 MB / 0.8584 GB, free: 2.789 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001376/0.3368, allocations: 60 kB / 0.8585 GB, free: 2.73 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002639/0.3395, allocations: 1.096 MB / 0.8595 GB, free: 1.633 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003509/0.3399, allocations: 318.8 kB / 0.8598 GB, free: 1.32 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004274/0.3403, allocations: 336.8 kB / 0.8602 GB, free: 0.9844 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002675/0.343, allocations: 1.991 MB / 0.8621 GB, free: 14.99 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.343, allocations: 0 / 0.8621 GB, free: 14.99 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.953e-06/0.343, allocations: 0 / 0.8621 GB, free: 14.99 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.5e-05/0.343, allocations: 0 / 0.8621 GB, free: 14.99 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.003379/0.3464, allocations: 1.844 MB / 0.8639 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.3465, allocations: 8.031 kB / 0.8639 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00242/0.3489, allocations: 0.5521 MB / 0.8645 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002494/0.3514, allocations: 1.341 MB / 0.8658 GB, free: 11.13 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007198/0.3521, allocations: 277.2 kB / 0.866 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.3523, allocations: 95.92 kB / 0.8661 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00242/0.3547, allocations: 1.197 MB / 0.8673 GB, free: 9.523 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.3547, allocations: 0 / 0.8673 GB, free: 9.523 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.3548, allocations: 36 kB / 0.8673 GB, free: 9.488 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.936e-05/0.3549, allocations: 20 kB / 0.8673 GB, free: 9.469 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002882/0.3578, allocations: 1.23 MB / 0.8685 GB, free: 8.238 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.006831/0.3646, allocations: 4.329 MB / 0.8728 GB, free: 3.672 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007699/0.3723, allocations: 1.866 MB / 0.8746 GB, free: 1.762 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009552/0.3733, allocations: 1.148 MB / 0.8757 GB, free: 364 kB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001197/0.3745, allocations: 0.5026 MB / 0.8762 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=60): time 3.416e-06/0.3746, allocations: 0 / 0.8762 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of matching and sorting (n=60): time 0.00333/0.3779, allocations: 1.27 MB / 0.8774 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.047e-05/0.378, allocations: 85.61 kB / 0.8775 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002326/0.3803, allocations: 1.537 MB / 0.879 GB, free: 12.92 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001058/0.3804, allocations: 45.7 kB / 0.8791 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000579/0.381, allocations: 0.6473 MB / 0.8797 GB, free: 12.21 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002123/0.3812, allocations: 213 kB / 0.8799 GB, free: 12 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-05/0.3813, allocations: 8 kB / 0.8799 GB, free: 11.99 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3814, allocations: 334 kB / 0.8802 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001156/0.3826, allocations: 461.7 kB / 0.8807 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001257/0.3839, allocations: 0.6111 MB / 0.8813 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.3851, allocations: 490.9 kB / 0.8817 GB, free: 10.06 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.3851, allocations: 0 / 0.8817 GB, free: 10.06 MB / 0.7012 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002947/0.388, allocations: 1.222 MB / 0.8829 GB, free: 8.832 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003784/0.3884, allocations: 0.9172 MB / 0.8838 GB, free: 7.836 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.3884, allocations: 0 / 0.8838 GB, free: 7.836 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.3885, allocations: 8 kB / 0.8838 GB, free: 7.828 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.3895, allocations: 227.7 kB / 0.884 GB, free: 7.605 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/0.3895, allocations: 15.95 kB / 0.8841 GB, free: 7.59 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/0.3911, allocations: 250.8 kB / 0.8843 GB, free: 7.344 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-05/0.3912, allocations: 31.98 kB / 0.8843 GB, free: 7.312 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.3912, allocations: 8 kB / 0.8843 GB, free: 7.305 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002623/0.3938, allocations: 1.058 MB / 0.8854 GB, free: 6.246 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.3938, allocations: 4 kB / 0.8854 GB, free: 6.242 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.3939, allocations: 4 kB / 0.8854 GB, free: 6.238 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000969/0.3948, allocations: 236 kB / 0.8856 GB, free: 6.008 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.3948, allocations: 4 kB / 0.8856 GB, free: 6.004 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.3962, allocations: 209.8 kB / 0.8858 GB, free: 5.801 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.579e-05/0.3963, allocations: 39.92 kB / 0.8858 GB, free: 5.762 MB / 0.7012 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.0007737/0.3971, allocations: 428.9 kB / 0.8863 GB, free: 5.332 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002293/0.3973, allocations: 154 kB / 0.8864 GB, free: 5.18 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002537/0.3998, allocations: 1.188 MB / 0.8876 GB, free: 3.988 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/0.3999, allocations: 12 kB / 0.8876 GB, free: 3.977 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.3999, allocations: 3.938 kB / 0.8876 GB, free: 3.973 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.3999, allocations: 3.984 kB / 0.8876 GB, free: 3.969 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00426/0.4042, allocations: 2.493 MB / 0.89 GB, free: 1.383 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.4042, allocations: 0 / 0.89 GB, free: 1.383 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000677/0.4049, allocations: 143.9 kB / 0.8902 GB, free: 1.242 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.166e-05/0.4049, allocations: 11.98 kB / 0.8902 GB, free: 1.23 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.506e-05/0.405, allocations: 23.94 kB / 0.8902 GB, free: 1.207 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.385e-06/0.405, allocations: 11.94 kB / 0.8902 GB, free: 1.195 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.405, allocations: 3.938 kB / 0.8902 GB, free: 1.191 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002439/0.4074, allocations: 1.329 MB / 0.8915 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007734/0.4082, allocations: 378.8 kB / 0.8919 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001895/0.4084, allocations: 12 kB / 0.8919 GB, free: 15.35 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/0.4095, allocations: 135.7 kB / 0.892 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.4096, allocations: 52.33 kB / 0.8921 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.165e-05/0.4097, allocations: 31.97 kB / 0.8921 GB, free: 15.13 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001737/0.4115, allocations: 1.091 MB / 0.8932 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.61e-07/0.4115, allocations: 0 / 0.8932 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00182/0.4133, allocations: 0.6863 MB / 0.8938 GB, free: 13.36 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.001674/0.415, allocations: 0.7691 MB / 0.8946 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003864/0.4189, allocations: 1.574 MB / 0.8961 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.4189, allocations: 0 / 0.8961 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.4199, allocations: 470.9 kB / 0.8966 GB, free: 10.74 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003054/0.423, allocations: 0.6079 MB / 0.8972 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00432/0.4273, allocations: 2.849 MB / 0.8999 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007858/0.4281, allocations: 1.262 MB / 0.9012 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001667/0.4298, allocations: 406.2 kB / 0.9016 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003186/0.4301, allocations: 119.4 kB / 0.9017 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of SimCode: time 1.122e-06/0.4301, allocations: 0 / 0.9017 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of Templates: time 0.4083/0.8384, allocations: 25.82 MB / 0.9269 GB, free: 131.1 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: