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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.521/1.521, allocations: 252 MB / 267.3 MB, free: 10.85 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.001128/0.001129, allocations: 170 kB / 327 MB, free: 2.117 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.007/2.007, allocations: 205.4 MB / 0.578 GB, free: 20.11 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.0008918/0.0008916, allocations: 82.36 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003513/0.0003514, allocations: 8.906 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2467, allocations: 106.3 MB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus): time 0.04722/0.2939, allocations: 61.15 MB / 0.9606 GB, free: 2.043 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02083/0.3149, allocations: 13.04 MB / 0.9734 GB, free: 4.969 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003529/0.3184, allocations: 47.69 kB / 0.9734 GB, free: 4.922 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00384/0.3223, allocations: 0.8976 MB / 0.9743 GB, free: 4.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.007463/0.3298, allocations: 1.81 MB / 0.976 GB, free: 2.203 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00505/0.3349, allocations: 1.231 MB / 0.9772 GB, free: 0.9883 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0072/0.3421, allocations: 4.271 MB / 0.9814 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0028/0.345, allocations: 1.046 MB / 0.9824 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00359/0.3486, allocations: 1.128 MB / 0.9835 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002513/0.3511, allocations: 1.007 MB / 0.9845 GB, free: 9.48 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0006646/0.3518, allocations: 71.94 kB / 0.9846 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004556/0.3564, allocations: 1.446 MB / 0.986 GB, free: 7.961 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0008377/0.3573, allocations: 370.4 kB / 0.9864 GB, free: 7.598 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.002164/0.3595, allocations: 0.8019 MB / 0.9871 GB, free: 6.785 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.006422/0.3659, allocations: 2.78 MB / 0.9899 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.366, allocations: 0 / 0.9899 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.394e-06/0.366, allocations: 0 / 0.9899 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.798e-05/0.3661, allocations: 0 / 0.9899 GB, free: 3.996 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.0053/0.3714, allocations: 1.856 MB / 0.9917 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/0.3714, allocations: 12.03 kB / 0.9917 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004778/0.3719, allocations: 135.5 kB / 0.9918 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002846/0.3748, allocations: 0.5491 MB / 0.9923 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00393/0.3787, allocations: 1.389 MB / 0.9937 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008672/0.3796, allocations: 273.3 kB / 0.994 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003306/0.38, allocations: 88 kB / 0.994 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003479/0.3835, allocations: 1.263 MB / 0.9953 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.646e-05/0.3835, allocations: 0 / 0.9953 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001533/0.3837, allocations: 32 kB / 0.9953 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.466e-05/0.3837, allocations: 24 kB / 0.9953 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003625/0.3874, allocations: 1.339 MB / 0.9966 GB, free: 12.88 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.00954/0.3969, allocations: 4.539 MB / 1.001 GB, free: 8.105 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008324/0.4053, allocations: 1.967 MB / 1.003 GB, free: 6.086 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001242/0.4066, allocations: 466.3 kB / 1.003 GB, free: 5.629 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001105/0.4077, allocations: 1.156 MB / 1.005 GB, free: 4.215 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001496/0.4093, allocations: 0.5495 MB / 1.005 GB, free: 3.656 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=60): time 6.122e-06/0.4093, allocations: 0 / 1.005 GB, free: 3.656 MB / 0.6511 GB Notification: Performance of matching and sorting (n=60): time 0.004296/0.4136, allocations: 1.422 MB / 1.006 GB, free: 2.227 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.583e-05/0.4137, allocations: 81.67 kB / 1.007 GB, free: 2.125 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004169/0.4179, allocations: 1.638 MB / 1.008 GB, free: 488 kB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001459/0.4181, allocations: 37.7 kB / 1.008 GB, free: 444 kB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008239/0.4189, allocations: 0.6435 MB / 1.009 GB, free: 15.78 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002977/0.4192, allocations: 209 kB / 1.009 GB, free: 15.57 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.508e-05/0.4193, allocations: 16 kB / 1.009 GB, free: 15.56 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.4195, allocations: 334 kB / 1.009 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001389/0.4209, allocations: 0.5016 MB / 1.01 GB, free: 14.72 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001542/0.4224, allocations: 0.6658 MB / 1.011 GB, free: 14 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002488/0.4249, allocations: 1.001 MB / 1.011 GB, free: 12.97 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.425, allocations: 4 kB / 1.011 GB, free: 12.96 MB / 0.6667 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003733/0.4287, allocations: 1.323 MB / 1.013 GB, free: 11.63 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001367/0.4289, allocations: 158.4 kB / 1.013 GB, free: 11.44 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.4289, allocations: 0 / 1.013 GB, free: 11.44 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.993e-05/0.4289, allocations: 8 kB / 1.013 GB, free: 11.43 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/0.43, allocations: 227.6 kB / 1.013 GB, free: 11.21 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.067e-05/0.4301, allocations: 7.984 kB / 1.013 GB, free: 11.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001896/0.432, allocations: 250.9 kB / 1.013 GB, free: 10.96 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001451/0.4321, allocations: 35.98 kB / 1.013 GB, free: 10.92 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.4321, allocations: 4 kB / 1.013 GB, free: 10.92 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003082/0.4352, allocations: 1.163 MB / 1.015 GB, free: 9.754 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.4353, allocations: 11.88 kB / 1.015 GB, free: 9.742 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.4353, allocations: 4 kB / 1.015 GB, free: 9.738 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.4363, allocations: 224 kB / 1.015 GB, free: 9.52 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.967e-05/0.4364, allocations: 11.98 kB / 1.015 GB, free: 9.508 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/0.4381, allocations: 207.1 kB / 1.015 GB, free: 9.305 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/0.4382, allocations: 35.98 kB / 1.015 GB, free: 9.27 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.0009924/0.4392, allocations: 428.8 kB / 1.015 GB, free: 8.84 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005312/0.4398, allocations: 154.1 kB / 1.016 GB, free: 8.688 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003239/0.443, allocations: 1.284 MB / 1.017 GB, free: 7.402 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.406e-05/0.4431, allocations: 8 kB / 1.017 GB, free: 7.395 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.4431, allocations: 4 kB / 1.017 GB, free: 7.391 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.4431, allocations: 7.984 kB / 1.017 GB, free: 7.383 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005888/0.449, allocations: 2.723 MB / 1.02 GB, free: 4.57 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.33e-05/0.449, allocations: 0 / 1.02 GB, free: 4.57 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007643/0.4498, allocations: 151.7 kB / 1.02 GB, free: 4.422 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-05/0.4499, allocations: 12.06 kB / 1.02 GB, free: 4.41 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.949e-05/0.4499, allocations: 19.98 kB / 1.02 GB, free: 4.391 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.467e-05/0.45, allocations: 4 kB / 1.02 GB, free: 4.387 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.396e-06/0.45, allocations: 7.938 kB / 1.02 GB, free: 4.379 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003005/0.453, allocations: 1.284 MB / 1.021 GB, free: 3.047 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/0.454, allocations: 398.7 kB / 1.021 GB, free: 2.637 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004463/0.4545, allocations: 12 kB / 1.021 GB, free: 2.625 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001494/0.456, allocations: 131.8 kB / 1.021 GB, free: 2.496 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/0.4562, allocations: 60.23 kB / 1.022 GB, free: 2.438 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.653e-05/0.4563, allocations: 27.98 kB / 1.022 GB, free: 2.41 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.003006/0.4593, allocations: 1.161 MB / 1.023 GB, free: 1.254 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3e-07/0.4593, allocations: 3.938 kB / 1.023 GB, free: 1.25 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00322/0.4625, allocations: 0.6825 MB / 1.023 GB, free: 0.5664 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.005937/0.4685, allocations: 2.478 MB / 1.026 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004928/0.4735, allocations: 1.714 MB / 1.027 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/0.4735, allocations: 0 / 1.027 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001247/0.4748, allocations: 0.5067 MB / 1.028 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004973/0.4798, allocations: 0.6447 MB / 1.029 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03051/0.5103, allocations: 13.24 MB / 1.042 GB, free: 13.61 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001145/0.5115, allocations: 1.235 MB / 1.043 GB, free: 12.34 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002058/0.5136, allocations: 411.3 kB / 1.043 GB, free: 11.94 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001095/0.5147, allocations: 0.5735 MB / 1.044 GB, free: 11.36 MB / 0.698 GB Notification: Performance of SimCode: time 9.42e-07/0.5147, allocations: 0 / 1.044 GB, free: 11.36 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5318/1.047, allocations: 40.7 MB / 1.083 GB, free: 137 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001901/1.047, allocations: 269.8 kB / 1.084 GB, free: 136.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.658/4.705, allocations: 0 / 1.084 GB, free: 136.7 MB / 0.698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe 2>&1)