Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009489/0.0009489, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.00573/0.00573, allocations: 169.3 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.221/2.221, allocations: 390.9 MB / 0.6664 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003057/0.0003056, allocations: 8 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5428/0.5431, allocations: 142.4 MB / 0.9552 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus): time 0.05166/0.5948, allocations: 61.21 MB / 1.015 GB, free: 1.926 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01638/0.6112, allocations: 12.92 MB / 1.028 GB, free: 4.973 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001927/0.6132, allocations: 55.62 kB / 1.028 GB, free: 4.918 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002191/0.6154, allocations: 0.7926 MB / 1.028 GB, free: 4.121 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.004537/0.6199, allocations: 1.827 MB / 1.03 GB, free: 2.285 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002923/0.6228, allocations: 1.23 MB / 1.031 GB, free: 1.07 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004326/0.6272, allocations: 4.32 MB / 1.036 GB, free: 12.74 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001493/0.6287, allocations: 1.062 MB / 1.037 GB, free: 11.65 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002049/0.6308, allocations: 1.143 MB / 1.038 GB, free: 10.5 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001448/0.6322, allocations: 1.011 MB / 1.039 GB, free: 9.484 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002155/0.6324, allocations: 64 kB / 1.039 GB, free: 9.422 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002547/0.635, allocations: 1.509 MB / 1.04 GB, free: 7.91 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0003612/0.6354, allocations: 378.4 kB / 1.041 GB, free: 7.539 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0007817/0.6362, allocations: 0.8136 MB / 1.041 GB, free: 6.715 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002737/0.6389, allocations: 2.823 MB / 1.044 GB, free: 3.883 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.6389, allocations: 0 / 1.044 GB, free: 3.883 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6389, allocations: 0 / 1.044 GB, free: 3.883 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.6389, allocations: 0 / 1.044 GB, free: 3.883 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.002826/0.6418, allocations: 1.864 MB / 1.046 GB, free: 1.957 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.6418, allocations: 12.03 kB / 1.046 GB, free: 1.945 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001563/0.642, allocations: 139.6 kB / 1.046 GB, free: 1.801 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002275/0.6443, allocations: 0.5569 MB / 1.047 GB, free: 1.242 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002033/0.6463, allocations: 1.401 MB / 1.048 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007248/0.647, allocations: 281.2 kB / 1.048 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/0.6472, allocations: 88 kB / 1.048 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002334/0.6495, allocations: 1.271 MB / 1.05 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.6496, allocations: 0 / 1.05 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-05/0.6497, allocations: 40 kB / 1.05 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.588e-05/0.6497, allocations: 20 kB / 1.05 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003001/0.6527, allocations: 1.351 MB / 1.051 GB, free: 12.7 MB / 0.8106 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.005834/0.6585, allocations: 4.59 MB / 1.056 GB, free: 7.875 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007807/0.6664, allocations: 1.975 MB / 1.057 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000938/0.6673, allocations: 478.7 kB / 1.058 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006958/0.668, allocations: 1.156 MB / 1.059 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001088/0.6691, allocations: 0.5456 MB / 1.06 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=60): time 1.883e-06/0.6691, allocations: 0 / 1.06 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of matching and sorting (n=60): time 0.003013/0.6721, allocations: 1.418 MB / 1.061 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.6722, allocations: 85.67 kB / 1.061 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002078/0.6743, allocations: 1.634 MB / 1.063 GB, free: 248 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 7.046e-05/0.6744, allocations: 37.7 kB / 1.063 GB, free: 204 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004784/0.6748, allocations: 0.6512 MB / 1.063 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001644/0.675, allocations: 216.9 kB / 1.063 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.975e-05/0.6751, allocations: 65.67 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.356e-05/0.6752, allocations: 337.9 kB / 1.064 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001265/0.6765, allocations: 0.5055 MB / 1.064 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001353/0.6779, allocations: 0.6658 MB / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002144/0.68, allocations: 1.005 MB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.68, allocations: 0 / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002931/0.683, allocations: 1.346 MB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.933e-05/0.6831, allocations: 156 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.6831, allocations: 3.938 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.6831, allocations: 11.94 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009875/0.6841, allocations: 235.7 kB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.6841, allocations: 7.938 kB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/0.6855, allocations: 246.9 kB / 1.068 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-05/0.6856, allocations: 39.97 kB / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.113e-06/0.6856, allocations: 4 kB / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002733/0.6883, allocations: 1.167 MB / 1.069 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.6883, allocations: 4 kB / 1.069 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.765e-06/0.6884, allocations: 4 kB / 1.069 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009647/0.6893, allocations: 239.9 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.6893, allocations: 7.984 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/0.6905, allocations: 215 kB / 1.07 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.356e-05/0.6906, allocations: 31.98 kB / 1.07 GB, free: 8.918 MB / 0.8262 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 ($PRE.datRea.nextTimeEvent,$whenCondition1,datRea.nextTimeEventScaled,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005034/0.6911, allocations: 428.9 kB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001857/0.6913, allocations: 150.1 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002526/0.6939, allocations: 1.281 MB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/0.6939, allocations: 11.98 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.6939, allocations: 0 / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.6939, allocations: 3.984 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004164/0.6981, allocations: 2.75 MB / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.6981, allocations: 7.938 kB / 1.074 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006881/0.6988, allocations: 148.1 kB / 1.074 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.835e-06/0.6988, allocations: 4 kB / 1.074 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-05/0.6989, allocations: 19.98 kB / 1.074 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.194e-06/0.6989, allocations: 8 kB / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.6989, allocations: 0 / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00234/0.7012, allocations: 1.292 MB / 1.076 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005184/0.7018, allocations: 394.8 kB / 1.076 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001872/0.702, allocations: 24 kB / 1.076 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/0.7031, allocations: 131.8 kB / 1.076 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.7032, allocations: 52.25 kB / 1.076 GB, free: 2.062 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.057e-05/0.7033, allocations: 35.97 kB / 1.076 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0017/0.705, allocations: 1.161 MB / 1.077 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.6e-07/0.705, allocations: 0 / 1.077 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001563/0.7066, allocations: 0.7098 MB / 1.078 GB, free: 164 kB / 0.8262 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.004009/0.7106, allocations: 2.483 MB / 1.08 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003928/0.7145, allocations: 1.738 MB / 1.082 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.7145, allocations: 0 / 1.082 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.7156, allocations: 0.5028 MB / 1.083 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003344/0.7189, allocations: 0.6492 MB / 1.083 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02269/0.7416, allocations: 13.36 MB / 1.096 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007653/0.7424, allocations: 1.247 MB / 1.098 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001554/0.744, allocations: 407.9 kB / 1.098 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008131/0.7448, allocations: 0.5774 MB / 1.098 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of SimCode: time 7.71e-07/0.7448, allocations: 4 kB / 1.098 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.234/1.979, allocations: 40.96 MB / 1.138 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002222/1.979, allocations: 268.6 kB / 1.139 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.048/5.027, allocations: 0 / 1.139 GB, free: 2.004 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe 2>&1)