Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.745/2.745, allocations: 287.5 MB / 302.4 MB, free: 8.227 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001474/0.001474, allocations: 178.3 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.181/2.181, allocations: 205.4 MB / 0.6297 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 95.77 kB / 0.743 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006728/0.0006731, allocations: 16.86 kB / 0.8659 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2438, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus): time 0.09306/0.3369, allocations: 57.76 MB / 1.035 GB, free: 2.324 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02745/0.3644, allocations: 12.35 MB / 1.047 GB, free: 5.949 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003001/0.3675, allocations: 55.62 kB / 1.047 GB, free: 5.895 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.004346/0.3719, allocations: 0.7805 MB / 1.048 GB, free: 5.109 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.007567/0.3795, allocations: 1.545 MB / 1.049 GB, free: 3.559 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.005526/0.3851, allocations: 1.037 MB / 1.05 GB, free: 2.535 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.007646/0.3927, allocations: 3.716 MB / 1.054 GB, free: 14.81 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002764/0.3956, allocations: 0.9318 MB / 1.055 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003827/0.3994, allocations: 1.097 MB / 1.056 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002777/0.4023, allocations: 0.9489 MB / 1.057 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0006479/0.403, allocations: 64 kB / 1.057 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005102/0.4081, allocations: 1.197 MB / 1.058 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001001/0.4092, allocations: 366.6 kB / 1.058 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0009749/0.4102, allocations: 340.8 kB / 1.059 GB, free: 9.84 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.005175/0.4154, allocations: 2.132 MB / 1.061 GB, free: 7.703 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.032e-05/0.4155, allocations: 4 kB / 1.061 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.695e-06/0.4155, allocations: 0 / 1.061 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.42e-05/0.4156, allocations: 0 / 1.061 GB, free: 7.699 MB / 0.6823 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.006319/0.4219, allocations: 1.871 MB / 1.063 GB, free: 5.77 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/0.422, allocations: 11.97 kB / 1.063 GB, free: 5.758 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005457/0.4225, allocations: 139.3 kB / 1.063 GB, free: 5.613 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004653/0.4272, allocations: 0.5482 MB / 1.063 GB, free: 5.062 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00495/0.4322, allocations: 1.326 MB / 1.065 GB, free: 3.688 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00151/0.4338, allocations: 281.2 kB / 1.065 GB, free: 3.398 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000437/0.4343, allocations: 88 kB / 1.065 GB, free: 3.312 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005083/0.4394, allocations: 1.248 MB / 1.066 GB, free: 2.035 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.739e-05/0.4395, allocations: 11.92 kB / 1.066 GB, free: 2.023 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001895/0.4397, allocations: 32 kB / 1.066 GB, free: 1.992 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.791e-05/0.4397, allocations: 20 kB / 1.066 GB, free: 1.973 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00656/0.4463, allocations: 1.327 MB / 1.068 GB, free: 0.6445 MB / 0.6823 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.6793/1.126, allocations: 4.54 MB / 1.072 GB, free: 88.36 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01599/1.142, allocations: 1.966 MB / 1.074 GB, free: 87.78 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002246/1.144, allocations: 467.4 kB / 1.074 GB, free: 87.63 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001097/1.145, allocations: 1.159 MB / 1.075 GB, free: 86.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002745/1.148, allocations: 0.5373 MB / 1.076 GB, free: 86.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=60): time 5.039e-06/1.148, allocations: 0 / 1.076 GB, free: 86.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60): time 0.007234/1.155, allocations: 1.418 MB / 1.077 GB, free: 85.59 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.189e-05/1.155, allocations: 84.88 kB / 1.077 GB, free: 85.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005301/1.161, allocations: 1.617 MB / 1.079 GB, free: 84.89 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003241/1.161, allocations: 43.23 kB / 1.079 GB, free: 84.84 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00103/1.162, allocations: 0.6422 MB / 1.08 GB, free: 84.36 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005217/1.163, allocations: 208.4 kB / 1.08 GB, free: 84.22 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/1.163, allocations: 14.81 kB / 1.08 GB, free: 84.21 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001227/1.163, allocations: 334 kB / 1.08 GB, free: 83.89 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002814/1.166, allocations: 0.5017 MB / 1.081 GB, free: 83.74 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003058/1.169, allocations: 0.6694 MB / 1.081 GB, free: 83.42 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003059/1.172, allocations: 0.5351 MB / 1.082 GB, free: 83.24 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.327e-05/1.172, allocations: 0.7812 kB / 1.082 GB, free: 83.24 MB / 0.6823 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.007072/1.179, allocations: 1.323 MB / 1.083 GB, free: 82.75 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001234/1.179, allocations: 168 kB / 1.083 GB, free: 82.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/1.179, allocations: 2.25 kB / 1.083 GB, free: 82.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.662e-05/1.179, allocations: 10.78 kB / 1.083 GB, free: 82.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002359/1.182, allocations: 236 kB / 1.084 GB, free: 82.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.468e-05/1.182, allocations: 7.094 kB / 1.084 GB, free: 82.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003296/1.185, allocations: 248 kB / 1.084 GB, free: 82.48 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004185/1.186, allocations: 37.42 kB / 1.084 GB, free: 82.47 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/1.186, allocations: 4.375 kB / 1.084 GB, free: 82.47 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005993/1.192, allocations: 1.164 MB / 1.085 GB, free: 82.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/1.192, allocations: 3 kB / 1.085 GB, free: 82.07 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/1.192, allocations: 9.5 kB / 1.085 GB, free: 82.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002237/1.194, allocations: 228.5 kB / 1.085 GB, free: 82.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.7e-05/1.194, allocations: 11.83 kB / 1.085 GB, free: 82.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00308/1.197, allocations: 212.4 kB / 1.085 GB, free: 81.99 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004335/1.198, allocations: 38.92 kB / 1.085 GB, free: 81.98 MB / 0.6823 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.001519/1.199, allocations: 433.4 kB / 1.086 GB, free: 81.66 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006926/1.2, allocations: 155 kB / 1.086 GB, free: 81.58 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005747/1.206, allocations: 1.271 MB / 1.087 GB, free: 81.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.441e-05/1.206, allocations: 12.09 kB / 1.087 GB, free: 81.09 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/1.206, allocations: 8.406 kB / 1.087 GB, free: 81.09 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-05/1.206, allocations: 4.406 kB / 1.087 GB, free: 81.09 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009976/1.216, allocations: 2.724 MB / 1.09 GB, free: 79.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.886e-05/1.216, allocations: 2.062 kB / 1.09 GB, free: 79.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001533/1.218, allocations: 149.4 kB / 1.09 GB, free: 79.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.277e-05/1.218, allocations: 6.547 kB / 1.09 GB, free: 79.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001628/1.218, allocations: 21.16 kB / 1.09 GB, free: 79.79 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.43e-05/1.218, allocations: 5.469 kB / 1.09 GB, free: 79.79 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/1.218, allocations: 4.703 kB / 1.09 GB, free: 79.79 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005118/1.223, allocations: 1.285 MB / 1.091 GB, free: 79.15 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001622/1.225, allocations: 398.5 kB / 1.092 GB, free: 78.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006315/1.225, allocations: 16.22 kB / 1.092 GB, free: 78.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002559/1.228, allocations: 122.8 kB / 1.092 GB, free: 78.85 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003364/1.228, allocations: 62.58 kB / 1.092 GB, free: 78.83 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001851/1.228, allocations: 31.55 kB / 1.092 GB, free: 78.83 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003823/1.232, allocations: 1.146 MB / 1.093 GB, free: 78.39 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.172e-06/1.232, allocations: 0 / 1.093 GB, free: 78.39 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003916/1.236, allocations: 0.7001 MB / 1.094 GB, free: 78.28 MB / 0.6823 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.007709/1.244, allocations: 2.474 MB / 1.096 GB, free: 76.98 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.008424/1.253, allocations: 1.713 MB / 1.098 GB, free: 76.44 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.306e-05/1.253, allocations: 4.812 kB / 1.098 GB, free: 76.43 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002277/1.255, allocations: 0.5067 MB / 1.098 GB, free: 76.27 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006403/1.261, allocations: 0.63 MB / 1.099 GB, free: 76.09 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03692/1.298, allocations: 9.589 MB / 1.108 GB, free: 71.14 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001032/1.299, allocations: 1.236 MB / 1.11 GB, free: 70.19 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003368/1.303, allocations: 406 kB / 1.11 GB, free: 70.02 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001791/1.305, allocations: 0.573 MB / 1.111 GB, free: 69.54 MB / 0.6823 GB Notification: Performance of SimCode: time 1.293e-06/1.305, allocations: 0 / 1.111 GB, free: 69.54 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1351/1.44, allocations: 40.27 MB / 1.15 GB, free: 35.31 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002871/1.44, allocations: 251.1 kB / 1.15 GB, free: 34.98 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.658/6.098, allocations: 0 / 1.15 GB, free: 34.98 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe 2>&1)