Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.709/1.709, allocations: 289.9 MB / 297.4 MB, free: 6.34 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.001526/0.001526, allocations: 176.8 kB / 366.7 MB, free: 1.641 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.801/1.801, allocations: 205.2 MB / 0.626 GB, free: 7.172 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.0008261/0.0008262, allocations: 109.7 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.911e-05/1.914e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6972/0.6972, allocations: 116.3 MB / 0.9733 GB, free: 76.11 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.155/1.852, allocations: 436.2 MB / 1.399 GB, free: 121 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/1.853, allocations: 87.27 kB / 1.399 GB, free: 121 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.672/3.525, allocations: 0.513 GB / 1.912 GB, free: 82 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.793e-06/3.525, allocations: 0 / 1.912 GB, free: 82 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001254/3.525, allocations: 39.98 kB / 1.912 GB, free: 81.96 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.003989/3.529, allocations: 1.895 MB / 1.914 GB, free: 80.01 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.852e-05/3.529, allocations: 8.031 kB / 1.914 GB, free: 80 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/3.53, allocations: 325.5 kB / 1.915 GB, free: 79.68 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002616/3.533, allocations: 1.641 MB / 1.916 GB, free: 77.99 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000125/3.533, allocations: 117.5 kB / 1.916 GB, free: 77.86 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/3.533, allocations: 67.91 kB / 1.916 GB, free: 77.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001529/3.535, allocations: 0.9921 MB / 1.917 GB, free: 76.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001658/3.536, allocations: 1.11 MB / 1.918 GB, free: 75.61 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.099e-05/3.537, allocations: 7.938 kB / 1.918 GB, free: 75.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.95e-05/3.537, allocations: 7.984 kB / 1.918 GB, free: 75.59 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.942e-05/3.537, allocations: 35.95 kB / 1.919 GB, free: 75.55 MB / 0.948 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.006823/3.543, allocations: 6.707 MB / 1.925 GB, free: 68.35 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007667/3.544, allocations: 0.5916 MB / 1.926 GB, free: 67.75 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004241/3.545, allocations: 378.5 kB / 1.926 GB, free: 67.38 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004969/3.545, allocations: 0.8277 MB / 1.927 GB, free: 66.37 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/3.545, allocations: 51.06 kB / 1.927 GB, free: 66.31 MB / 0.948 GB Notification: Performance of pre-optimization done (n=63): time 3.065e-06/3.545, allocations: 0 / 1.927 GB, free: 66.31 MB / 0.948 GB Notification: Performance of matching and sorting (n=63): time 0.001436/3.547, allocations: 0.8058 MB / 1.928 GB, free: 65.49 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/3.547, allocations: 119.3 kB / 1.928 GB, free: 65.35 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/3.548, allocations: 1.137 MB / 1.929 GB, free: 64.21 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.667e-05/3.548, allocations: 29.7 kB / 1.929 GB, free: 64.17 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004288/3.549, allocations: 0.754 MB / 1.93 GB, free: 63.41 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/3.549, allocations: 208.9 kB / 1.93 GB, free: 63.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-05/3.549, allocations: 3.938 kB / 1.93 GB, free: 63.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.7e-05/3.549, allocations: 341.9 kB / 1.93 GB, free: 62.86 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004341/3.549, allocations: 350.5 kB / 1.931 GB, free: 62.52 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005884/3.55, allocations: 0.5995 MB / 1.931 GB, free: 61.81 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007736/3.551, allocations: 418.3 kB / 1.931 GB, free: 61.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/3.551, allocations: 0 / 1.931 GB, free: 61.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.00158/3.552, allocations: 1.029 MB / 1.932 GB, free: 60.36 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000398/3.553, allocations: 1.87 MB / 1.934 GB, free: 58.39 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/3.553, allocations: 12 kB / 1.934 GB, free: 58.38 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/3.553, allocations: 12 kB / 1.934 GB, free: 58.36 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/3.554, allocations: 267.6 kB / 1.935 GB, free: 58.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/3.554, allocations: 19.91 kB / 1.935 GB, free: 58.08 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/3.555, allocations: 199 kB / 1.935 GB, free: 57.89 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.205e-05/3.555, allocations: 43.94 kB / 1.935 GB, free: 57.84 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/3.555, allocations: 4 kB / 1.935 GB, free: 57.84 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001362/3.557, allocations: 0.8498 MB / 1.936 GB, free: 56.99 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/3.557, allocations: 8 kB / 1.936 GB, free: 56.98 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.719e-06/3.557, allocations: 8 kB / 1.936 GB, free: 56.97 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/3.558, allocations: 264.1 kB / 1.936 GB, free: 56.71 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/3.558, allocations: 15.98 kB / 1.936 GB, free: 56.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/3.559, allocations: 179.2 kB / 1.936 GB, free: 56.52 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.988e-05/3.559, allocations: 31.98 kB / 1.936 GB, free: 56.49 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 2 (heaPum.uMod,intGreThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 101 * 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.0002719/3.559, allocations: 128.7 kB / 1.936 GB, free: 56.36 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001284/3.561, allocations: 0.8174 MB / 1.937 GB, free: 55.53 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/3.561, allocations: 138.3 kB / 1.937 GB, free: 55.39 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001665/3.563, allocations: 0.9502 MB / 1.938 GB, free: 54.43 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/3.563, allocations: 8 kB / 1.938 GB, free: 54.43 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/3.563, allocations: 0 / 1.938 GB, free: 54.43 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001104/3.564, allocations: 0.8219 MB / 1.939 GB, free: 53.57 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003697/3.567, allocations: 2.456 MB / 1.941 GB, free: 51.04 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/3.568, allocations: 4.312 kB / 1.941 GB, free: 51.03 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000944/3.568, allocations: 203.8 kB / 1.942 GB, free: 50.83 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.278e-05/3.568, allocations: 8 kB / 1.942 GB, free: 50.82 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.793e-05/3.569, allocations: 7.984 kB / 1.942 GB, free: 50.82 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.867e-06/3.569, allocations: 15.89 kB / 1.942 GB, free: 50.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/3.569, allocations: 0 / 1.942 GB, free: 50.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002015/3.571, allocations: 1.701 MB / 1.943 GB, free: 48.98 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006375/3.571, allocations: 383 kB / 1.944 GB, free: 48.58 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001821/3.571, allocations: 4 kB / 1.944 GB, free: 48.58 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/3.572, allocations: 123.7 kB / 1.944 GB, free: 48.46 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/3.573, allocations: 72.42 kB / 1.944 GB, free: 48.39 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.826e-05/3.573, allocations: 39.97 kB / 1.944 GB, free: 48.35 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001094/3.574, allocations: 0.8639 MB / 1.945 GB, free: 47.48 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/3.574, allocations: 0 / 1.945 GB, free: 47.48 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002391/3.576, allocations: 0.8378 MB / 1.946 GB, free: 46.64 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 2 (heaPum.vol1.dynBal.U,heaPum.vol2.dynBal.U) * Number of discrete variables: 2 (heaPum.uMod,intGreThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 Backend phase and start with SimCode phase: time 0.00363/3.58, allocations: 3.582 MB / 1.949 GB, free: 42.96 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00203/3.582, allocations: 1.378 MB / 1.95 GB, free: 41.59 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/3.582, allocations: 0 / 1.95 GB, free: 41.59 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000634/3.583, allocations: 461.8 kB / 1.951 GB, free: 41.14 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002749/3.585, allocations: 0.5819 MB / 1.951 GB, free: 40.56 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004286/3.59, allocations: 2.342 MB / 1.954 GB, free: 38.13 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006315/3.59, allocations: 1.306 MB / 1.955 GB, free: 36.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002082/3.592, allocations: 0.502 MB / 1.955 GB, free: 36.29 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007418/3.593, allocations: 0.5696 MB / 1.956 GB, free: 35.72 MB / 0.948 GB Notification: Performance of SimCode: time 1.523e-06/3.593, allocations: 0 / 1.956 GB, free: 35.72 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7752/4.368, allocations: 41.32 MB / 1.996 GB, free: 188.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002194/4.369, allocations: 168.3 kB / 1.996 GB, free: 188.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.589/7.957, allocations: 0.75 kB / 1.996 GB, free: 188.3 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1)