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.591/2.591, allocations: 284.9 MB / 292.4 MB, free: 10.52 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.002084/0.002084, allocations: 180.8 kB / 360.6 MB, free: 7.273 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.092/2.092, allocations: 205.3 MB / 0.6191 GB, free: 12.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 91.77 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.628e-05/2.644e-05, allocations: 4 kB / 0.8509 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8057/0.8058, allocations: 115.3 MB / 0.9634 GB, free: 78.47 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.345/2.151, allocations: 417.6 MB / 1.371 GB, free: 150.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003133/2.152, allocations: 86.58 kB / 1.371 GB, free: 150.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.569/5.721, allocations: 0.6126 GB / 1.984 GB, free: 179.6 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.757e-06/5.721, allocations: 3.938 kB / 1.984 GB, free: 179.6 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.000331/5.721, allocations: 40.19 kB / 1.984 GB, free: 179.6 MB / 0.9323 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.008405/5.73, allocations: 1.731 MB / 1.986 GB, free: 179 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.367e-05/5.73, allocations: 7.562 kB / 1.986 GB, free: 179 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006249/5.736, allocations: 0.4929 MB / 1.986 GB, free: 178.9 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008183/5.744, allocations: 1.502 MB / 1.988 GB, free: 178.6 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001976/5.746, allocations: 238.1 kB / 1.988 GB, free: 178.6 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006526/5.747, allocations: 59.28 kB / 1.988 GB, free: 178.6 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004933/5.752, allocations: 0.9894 MB / 1.989 GB, free: 178.6 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004564/5.757, allocations: 0.9741 MB / 1.99 GB, free: 178.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.73e-05/5.757, allocations: 1.5 kB / 1.99 GB, free: 178.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002371/5.757, allocations: 0 / 1.99 GB, free: 178.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.592e-05/5.757, allocations: 29.39 kB / 1.99 GB, free: 178.4 MB / 0.9323 GB Warning: The model contains alias variables with conflicting start and/or 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.01697/5.774, allocations: 4.317 MB / 1.994 GB, free: 176.8 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01634/5.791, allocations: 1.606 MB / 1.996 GB, free: 176.8 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00137/5.792, allocations: 362.9 kB / 1.996 GB, free: 176.8 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001386/5.793, allocations: 1.151 MB / 1.997 GB, free: 175.5 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001722/5.795, allocations: 447 kB / 1.998 GB, free: 175.4 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=58): time 1.05e-05/5.795, allocations: 0 / 1.998 GB, free: 175.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=58): time 0.004586/5.8, allocations: 0.8466 MB / 1.998 GB, free: 175.3 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.35e-05/5.8, allocations: 89 kB / 1.998 GB, free: 175.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004386/5.804, allocations: 1.184 MB / 2 GB, free: 175.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003637/5.805, allocations: 29.42 kB / 2 GB, free: 175 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001202/5.806, allocations: 0.6789 MB / 2 GB, free: 174.9 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005313/5.807, allocations: 194 kB / 2 GB, free: 174.8 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001452/5.807, allocations: 0 / 2 GB, free: 174.8 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001186/5.807, allocations: 329.5 kB / 2.001 GB, free: 174.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001315/5.808, allocations: 341.2 kB / 2.001 GB, free: 174.5 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0016/5.81, allocations: 0.5366 MB / 2.002 GB, free: 174.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002587/5.813, allocations: 431.7 kB / 2.002 GB, free: 174.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.486e-05/5.813, allocations: 3.5 kB / 2.002 GB, free: 174.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.005651/5.818, allocations: 0.9922 MB / 2.003 GB, free: 174.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.00031/5.819, allocations: 0.8908 MB / 2.004 GB, free: 173.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.009e-05/5.819, allocations: 6.266 kB / 2.004 GB, free: 173.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.941e-05/5.819, allocations: 5.562 kB / 2.004 GB, free: 173.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003091/5.822, allocations: 218 kB / 2.004 GB, free: 173.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.057e-05/5.822, allocations: 9.266 kB / 2.004 GB, free: 173.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004151/5.826, allocations: 201.1 kB / 2.004 GB, free: 173.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004666/5.827, allocations: 39.27 kB / 2.004 GB, free: 173.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/5.827, allocations: 3.688 kB / 2.004 GB, free: 173.2 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004844/5.832, allocations: 0.8218 MB / 2.005 GB, free: 173.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.928e-05/5.832, allocations: 3.094 kB / 2.005 GB, free: 173.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.634e-05/5.832, allocations: 8.641 kB / 2.005 GB, free: 173.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002943/5.835, allocations: 221.2 kB / 2.005 GB, free: 173.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.632e-05/5.835, allocations: 8.5 kB / 2.005 GB, free: 173.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003604/5.839, allocations: 170.3 kB / 2.006 GB, free: 173.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004436/5.839, allocations: 36.81 kB / 2.006 GB, free: 173.2 MB / 0.9323 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.0005439/5.84, allocations: 126.7 kB / 2.006 GB, free: 173.1 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004532/5.844, allocations: 0.8465 MB / 2.007 GB, free: 172.9 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008323/5.845, allocations: 133.8 kB / 2.007 GB, free: 172.9 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005662/5.851, allocations: 1.069 MB / 2.008 GB, free: 172.8 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.242e-05/5.851, allocations: 9.5 kB / 2.008 GB, free: 172.8 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/5.851, allocations: 2.25 kB / 2.008 GB, free: 172.8 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.126e-05/5.851, allocations: 3.797 kB / 2.008 GB, free: 172.8 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01067/5.862, allocations: 2.494 MB / 2.01 GB, free: 172.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.809e-05/5.862, allocations: 3.156 kB / 2.01 GB, free: 172.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00221/5.864, allocations: 163.4 kB / 2.01 GB, free: 172.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.786e-05/5.864, allocations: 5.906 kB / 2.01 GB, free: 172.4 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000235/5.864, allocations: 15.39 kB / 2.01 GB, free: 172.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.489e-05/5.864, allocations: 6.719 kB / 2.01 GB, free: 172.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.538e-06/5.864, allocations: 3.031 kB / 2.01 GB, free: 172.4 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005051/5.869, allocations: 1.264 MB / 2.012 GB, free: 171.9 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001969/5.871, allocations: 393.8 kB / 2.012 GB, free: 171.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000793/5.872, allocations: 8.406 kB / 2.012 GB, free: 171.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003425/5.876, allocations: 115.9 kB / 2.012 GB, free: 171.7 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004064/5.876, allocations: 56.67 kB / 2.012 GB, free: 171.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000241/5.876, allocations: 32.14 kB / 2.012 GB, free: 171.7 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.003452/5.88, allocations: 0.9097 MB / 2.013 GB, free: 171.6 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.955e-06/5.88, allocations: 0 / 2.013 GB, free: 171.6 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.005971/5.886, allocations: 0.7583 MB / 2.014 GB, free: 171.5 MB / 0.9323 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 63 * 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.008426/5.894, allocations: 3.45 MB / 2.017 GB, free: 169.7 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003772/5.898, allocations: 1.324 MB / 2.018 GB, free: 169.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.105e-05/5.898, allocations: 0 / 2.018 GB, free: 169.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001147/5.9, allocations: 443.7 kB / 2.019 GB, free: 169.7 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004595/5.904, allocations: 485.1 kB / 2.019 GB, free: 169.7 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008348/5.913, allocations: 2.167 MB / 2.021 GB, free: 169 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001325/5.914, allocations: 1.276 MB / 2.023 GB, free: 168.3 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.004338/5.918, allocations: 0.4993 MB / 2.023 GB, free: 168.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001498/5.92, allocations: 0.535 MB / 2.024 GB, free: 168.3 MB / 0.9323 GB Notification: Performance of SimCode: time 1.142e-06/5.92, allocations: 3.125 kB / 2.024 GB, free: 168.3 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1334/6.053, allocations: 38.72 MB / 2.061 GB, free: 167 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002488/6.054, allocations: 198.1 kB / 2.062 GB, free: 166.9 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.368/10.42, allocations: 3.281 kB / 2.062 GB, free: 166.9 MB / 0.9323 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)