Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus") translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.401/1.401, allocations: 252 MB / 268 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001002/0.001002, allocations: 177.7 kB / 327.6 MB, free: 2.074 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.651/1.651, allocations: 205.4 MB / 0.5786 GB, free: 20.45 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007719/0.0007719, allocations: 97.92 kB / 0.6832 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004178/0.0004178, allocations: 13.47 kB / 0.7976 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2148, allocations: 106.3 MB / 0.9014 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus): time 0.04179/0.2566, allocations: 61.16 MB / 0.9612 GB, free: 2.445 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01666/0.2733, allocations: 13.04 MB / 0.9739 GB, free: 5.375 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002738/0.2761, allocations: 59.62 kB / 0.974 GB, free: 5.316 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003003/0.2792, allocations: 0.882 MB / 0.9748 GB, free: 4.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.005915/0.2851, allocations: 1.815 MB / 0.9766 GB, free: 2.609 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003862/0.289, allocations: 1.219 MB / 0.9778 GB, free: 1.402 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005324/0.2943, allocations: 4.28 MB / 0.982 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002019/0.2964, allocations: 1.046 MB / 0.983 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002533/0.2989, allocations: 1.131 MB / 0.9841 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00186/0.3008, allocations: 1.007 MB / 0.9851 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000412/0.3012, allocations: 64 kB / 0.9851 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003487/0.3047, allocations: 1.442 MB / 0.9865 GB, free: 8.375 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0005732/0.3053, allocations: 378.4 kB / 0.9869 GB, free: 8.004 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001381/0.3067, allocations: 0.798 MB / 0.9877 GB, free: 7.195 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003094/0.3098, allocations: 2.179 MB / 0.9898 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3099, allocations: 0 / 0.9898 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.824e-06/0.3099, allocations: 0 / 0.9898 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.209e-05/0.3099, allocations: 0 / 0.9898 GB, free: 5.012 MB / 0.6355 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.003997/0.314, allocations: 1.863 MB / 0.9916 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.314, allocations: 8.031 kB / 0.9916 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002674/0.3167, allocations: 0.553 MB / 0.9922 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003005/0.3197, allocations: 1.38 MB / 0.9935 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007981/0.3205, allocations: 269.3 kB / 0.9938 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002334/0.3208, allocations: 88 kB / 0.9939 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002711/0.3235, allocations: 1.255 MB / 0.9951 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.3235, allocations: 0 / 0.9951 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001126/0.3237, allocations: 40 kB / 0.9951 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.621e-05/0.3237, allocations: 20 kB / 0.9951 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003235/0.3269, allocations: 1.339 MB / 0.9965 GB, free: 14.05 MB / 0.6511 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.007754/0.3347, allocations: 4.539 MB / 1.001 GB, free: 9.27 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008116/0.3428, allocations: 1.968 MB / 1.003 GB, free: 7.25 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001288/0.3442, allocations: 476.5 kB / 1.003 GB, free: 6.785 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00109/0.3453, allocations: 1.156 MB / 1.004 GB, free: 5.371 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001525/0.3469, allocations: 0.5495 MB / 1.005 GB, free: 4.812 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=60): time 5.521e-06/0.3469, allocations: 0 / 1.005 GB, free: 4.812 MB / 0.6511 GB Notification: Performance of matching and sorting (n=60): time 0.004142/0.351, allocations: 1.418 MB / 1.006 GB, free: 3.387 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.977e-05/0.3511, allocations: 81.67 kB / 1.006 GB, free: 3.285 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003651/0.3548, allocations: 1.634 MB / 1.008 GB, free: 1.641 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002182/0.3551, allocations: 41.7 kB / 1.008 GB, free: 1.594 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007605/0.3558, allocations: 0.6472 MB / 1.009 GB, free: 0.9375 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003214/0.3562, allocations: 201.1 kB / 1.009 GB, free: 0.7383 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.757e-05/0.3563, allocations: 16 kB / 1.009 GB, free: 0.7227 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.3565, allocations: 337.9 kB / 1.009 GB, free: 396 kB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001475/0.3579, allocations: 0.4977 MB / 1.01 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001528/0.3595, allocations: 0.6696 MB / 1.01 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002342/0.3618, allocations: 0.9929 MB / 1.011 GB, free: 14.14 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.888e-06/0.3619, allocations: 4 kB / 1.011 GB, free: 14.13 MB / 0.6667 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003328/0.3652, allocations: 1.327 MB / 1.013 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001031/0.3653, allocations: 162.4 kB / 1.013 GB, free: 12.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.3653, allocations: 0 / 1.013 GB, free: 12.6 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/0.3654, allocations: 8 kB / 1.013 GB, free: 12.59 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.3664, allocations: 223.7 kB / 1.013 GB, free: 12.38 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.641e-05/0.3665, allocations: 11.94 kB / 1.013 GB, free: 12.36 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001615/0.3681, allocations: 254.8 kB / 1.013 GB, free: 12.11 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/0.3682, allocations: 35.98 kB / 1.013 GB, free: 12.08 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.318e-06/0.3682, allocations: 8 kB / 1.013 GB, free: 12.07 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002842/0.3711, allocations: 1.151 MB / 1.014 GB, free: 10.92 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.3711, allocations: 4 kB / 1.014 GB, free: 10.91 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.887e-06/0.3711, allocations: 7.938 kB / 1.014 GB, free: 10.91 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/0.3721, allocations: 231.9 kB / 1.015 GB, free: 10.68 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.3722, allocations: 4 kB / 1.015 GB, free: 10.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/0.3737, allocations: 211.1 kB / 1.015 GB, free: 10.47 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.797e-05/0.3738, allocations: 35.98 kB / 1.015 GB, free: 10.43 MB / 0.6667 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 (85): * Single equations (assignments): 85 * 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.0007068/0.3745, allocations: 426.4 kB / 1.015 GB, free: 10.01 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003435/0.3748, allocations: 158 kB / 1.015 GB, free: 9.852 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002774/0.3776, allocations: 1.282 MB / 1.017 GB, free: 8.566 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.618e-05/0.3777, allocations: 12 kB / 1.017 GB, free: 8.555 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.3777, allocations: 0 / 1.017 GB, free: 8.555 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/0.3777, allocations: 3.984 kB / 1.017 GB, free: 8.551 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00508/0.3828, allocations: 2.731 MB / 1.019 GB, free: 5.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/0.3828, allocations: 4 kB / 1.019 GB, free: 5.727 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007248/0.3835, allocations: 147.9 kB / 1.02 GB, free: 5.582 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.487e-05/0.3836, allocations: 8 kB / 1.02 GB, free: 5.574 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.866e-05/0.3836, allocations: 23.98 kB / 1.02 GB, free: 5.551 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.705e-06/0.3837, allocations: 4 kB / 1.02 GB, free: 5.547 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.748e-06/0.3837, allocations: 7.938 kB / 1.02 GB, free: 5.539 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002706/0.3864, allocations: 1.28 MB / 1.021 GB, free: 4.211 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008461/0.3873, allocations: 398.7 kB / 1.021 GB, free: 3.801 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003245/0.3876, allocations: 16 kB / 1.021 GB, free: 3.785 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001264/0.3889, allocations: 127.9 kB / 1.021 GB, free: 3.66 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/0.389, allocations: 56.25 kB / 1.021 GB, free: 3.605 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.981e-05/0.3891, allocations: 31.97 kB / 1.021 GB, free: 3.574 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002108/0.3912, allocations: 1.161 MB / 1.023 GB, free: 2.418 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3912, allocations: 0 / 1.023 GB, free: 2.418 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002086/0.3933, allocations: 0.6824 MB / 1.023 GB, free: 1.734 MB / 0.6667 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.001745/0.3951, allocations: 0.7467 MB / 1.024 GB, free: 1.125 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004233/0.3993, allocations: 1.71 MB / 1.026 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/0.3994, allocations: 7.938 kB / 1.026 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001149/0.4005, allocations: 0.5067 MB / 1.026 GB, free: 14.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004108/0.4047, allocations: 0.6559 MB / 1.027 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005138/0.4098, allocations: 3.038 MB / 1.03 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009248/0.4108, allocations: 1.227 MB / 1.031 GB, free: 9.887 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007302/0.4115, allocations: 131.4 kB / 1.031 GB, free: 9.758 MB / 0.6823 GB Notification: Performance of SimCode: time 1.012e-06/0.4115, allocations: 0 / 1.031 GB, free: 9.758 MB / 0.6823 GB Notification: Performance of Templates: time 0.04114/0.4527, allocations: 25.65 MB / 1.056 GB, free: 236 kB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe 2>&1)