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.443/1.443, allocations: 249.5 MB / 257 MB, free: 6.895 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 176.8 kB / 316.3 MB, free: 3.23 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.679/1.679, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.00091/0.0009102, allocations: 90.92 kB / 0.6714 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.073e-05/2.075e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2233, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.608/1.831, allocations: 411.3 MB / 1.287 GB, free: 260.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003261/1.832, allocations: 87.23 kB / 1.287 GB, free: 260.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.707/3.539, allocations: 0.5954 GB / 1.882 GB, free: 41.73 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.833e-06/3.539, allocations: 0 / 1.882 GB, free: 41.73 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001229/3.539, allocations: 35.75 kB / 1.882 GB, free: 41.7 MB / 0.8698 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.003155/3.542, allocations: 1.733 MB / 1.884 GB, free: 39.93 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/3.542, allocations: 12.02 kB / 1.884 GB, free: 39.92 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002066/3.544, allocations: 0.4936 MB / 1.885 GB, free: 39.42 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002722/3.547, allocations: 1.496 MB / 1.886 GB, free: 37.91 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000663/3.548, allocations: 242.3 kB / 1.886 GB, free: 37.66 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/3.548, allocations: 63.88 kB / 1.886 GB, free: 37.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001498/3.55, allocations: 0.988 MB / 1.887 GB, free: 36.61 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001384/3.551, allocations: 0.9762 MB / 1.888 GB, free: 35.59 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/3.551, allocations: 0 / 1.888 GB, free: 35.59 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.57e-05/3.551, allocations: 4 kB / 1.888 GB, free: 35.59 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/3.551, allocations: 20 kB / 1.888 GB, free: 35.57 MB / 0.8698 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.005801/3.557, allocations: 4.317 MB / 1.892 GB, free: 31.08 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005584/3.562, allocations: 1.605 MB / 1.894 GB, free: 29.46 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004576/3.563, allocations: 354.4 kB / 1.894 GB, free: 29.12 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006541/3.564, allocations: 1.155 MB / 1.896 GB, free: 27.71 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005867/3.564, allocations: 445.8 kB / 1.896 GB, free: 27.26 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=58): time 3.196e-06/3.564, allocations: 0 / 1.896 GB, free: 27.26 MB / 0.8698 GB Notification: Performance of matching and sorting (n=58): time 0.001695/3.566, allocations: 0.8487 MB / 1.897 GB, free: 26.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/3.566, allocations: 85.67 kB / 1.897 GB, free: 26.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001507/3.567, allocations: 1.184 MB / 1.898 GB, free: 25.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.92e-05/3.568, allocations: 33.7 kB / 1.898 GB, free: 25.06 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004619/3.568, allocations: 0.6696 MB / 1.899 GB, free: 24.38 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/3.568, allocations: 193.2 kB / 1.899 GB, free: 24.19 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.783e-05/3.568, allocations: 0 / 1.899 GB, free: 24.19 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.503e-05/3.568, allocations: 337.9 kB / 1.899 GB, free: 23.86 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004139/3.569, allocations: 341.5 kB / 1.9 GB, free: 23.52 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004951/3.569, allocations: 0.5362 MB / 1.9 GB, free: 22.91 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007857/3.57, allocations: 424.1 kB / 1.9 GB, free: 22.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/3.57, allocations: 0 / 1.9 GB, free: 22.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001563/3.572, allocations: 0.9969 MB / 1.901 GB, free: 21.49 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002035/3.572, allocations: 0.8971 MB / 1.902 GB, free: 20.54 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/3.572, allocations: 7.984 kB / 1.902 GB, free: 20.54 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/3.572, allocations: 4 kB / 1.902 GB, free: 20.53 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000993/3.573, allocations: 223.7 kB / 1.903 GB, free: 20.31 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/3.573, allocations: 4 kB / 1.903 GB, free: 20.31 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/3.574, allocations: 199.3 kB / 1.903 GB, free: 20.11 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-05/3.574, allocations: 39.97 kB / 1.903 GB, free: 20.07 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.919e-06/3.574, allocations: 4.625 kB / 1.903 GB, free: 20.07 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001381/3.576, allocations: 0.8251 MB / 1.904 GB, free: 19.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/3.576, allocations: 4 kB / 1.904 GB, free: 19.24 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.903e-06/3.576, allocations: 4 kB / 1.904 GB, free: 19.24 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009067/3.577, allocations: 220 kB / 1.904 GB, free: 19.02 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/3.577, allocations: 11.89 kB / 1.904 GB, free: 19.01 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/3.578, allocations: 171.3 kB / 1.904 GB, free: 18.84 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.891e-05/3.578, allocations: 35.98 kB / 1.904 GB, free: 18.81 MB / 0.8698 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.0002134/3.578, allocations: 121 kB / 1.904 GB, free: 18.68 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001273/3.579, allocations: 0.837 MB / 1.905 GB, free: 17.84 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/3.58, allocations: 134.3 kB / 1.905 GB, free: 17.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001778/3.581, allocations: 1.076 MB / 1.906 GB, free: 16.61 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/3.581, allocations: 11.98 kB / 1.906 GB, free: 16.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/3.581, allocations: 0 / 1.906 GB, free: 16.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/3.581, allocations: 3.984 kB / 1.906 GB, free: 16.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003421/3.585, allocations: 2.49 MB / 1.909 GB, free: 14.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/3.585, allocations: 0 / 1.909 GB, free: 14.04 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00072/3.586, allocations: 160.1 kB / 1.909 GB, free: 13.89 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.207e-05/3.586, allocations: 7.938 kB / 1.909 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.445e-05/3.586, allocations: 19.92 kB / 1.909 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/3.586, allocations: 4 kB / 1.909 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/3.586, allocations: 4 kB / 1.909 GB, free: 13.85 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/3.587, allocations: 1.272 MB / 1.91 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005594/3.588, allocations: 390.9 kB / 1.91 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001689/3.588, allocations: 7.984 kB / 1.91 GB, free: 12.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009758/3.589, allocations: 107.9 kB / 1.91 GB, free: 11.94 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/3.589, allocations: 56.42 kB / 1.911 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.008e-05/3.589, allocations: 35.97 kB / 1.911 GB, free: 11.85 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001079/3.59, allocations: 0.9142 MB / 1.911 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.7e-07/3.59, allocations: 0 / 1.911 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002069/3.592, allocations: 0.7399 MB / 1.912 GB, free: 10.2 MB / 0.8698 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.003404/3.596, allocations: 3.432 MB / 1.916 GB, free: 6.785 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001763/3.598, allocations: 1.326 MB / 1.917 GB, free: 5.453 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/3.598, allocations: 4 kB / 1.917 GB, free: 5.449 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004894/3.598, allocations: 437.9 kB / 1.917 GB, free: 5.023 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002261/3.6, allocations: 483.4 kB / 1.918 GB, free: 4.559 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003672/3.604, allocations: 2.158 MB / 1.92 GB, free: 2.316 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005567/3.605, allocations: 1.276 MB / 1.921 GB, free: 1.008 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001826/3.606, allocations: 0.5051 MB / 1.922 GB, free: 0.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.5192/4.126, allocations: 0.5318 MB / 1.922 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.713e-06/4.126, allocations: 0 / 1.922 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08935/4.215, allocations: 38.49 MB / 1.96 GB, free: 156.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001713/4.215, allocations: 200.8 kB / 1.96 GB, free: 156.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.312/7.527, allocations: 1 kB / 1.96 GB, free: 156.6 MB / 0.8698 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)