Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.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.Examples.EquationFitReversible,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.755/2.755, allocations: 287.3 MB / 302.3 MB, free: 8.391 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.001559/0.001559, allocations: 170.9 kB / 370.8 MB, free: 10.85 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.159/2.159, allocations: 205.4 MB / 0.6295 GB, free: 10.58 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.00115/0.00115, allocations: 93.67 kB / 0.7428 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004985/0.0004988, allocations: 14.78 kB / 0.8657 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2185, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.077/0.2956, allocations: 52.39 MB / 1.029 GB, free: 7.75 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.0263/0.3219, allocations: 11.88 MB / 1.041 GB, free: 11.85 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002467/0.3245, allocations: 51.62 kB / 1.041 GB, free: 11.8 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.004562/0.3291, allocations: 0.9292 MB / 1.042 GB, free: 10.87 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.009573/0.3387, allocations: 2.131 MB / 1.044 GB, free: 8.73 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.007555/0.3463, allocations: 1.629 MB / 1.046 GB, free: 7.129 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.007089/0.3534, allocations: 2.53 MB / 1.048 GB, free: 4.594 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002773/0.3563, allocations: 1.062 MB / 1.049 GB, free: 3.508 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004113/0.3604, allocations: 1.215 MB / 1.05 GB, free: 2.289 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002521/0.363, allocations: 0.8713 MB / 1.051 GB, free: 1.414 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0005606/0.3636, allocations: 64 kB / 1.051 GB, free: 1.352 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004127/0.3678, allocations: 0.8621 MB / 1.052 GB, free: 500 kB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0009079/0.3687, allocations: 354.7 kB / 1.052 GB, free: 144 kB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0009867/0.3697, allocations: 380.8 kB / 1.053 GB, free: 15.76 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.005037/0.3748, allocations: 2.159 MB / 1.055 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3749, allocations: 0 / 1.055 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.168e-06/0.3749, allocations: 4 kB / 1.055 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.395e-05/0.375, allocations: 4 kB / 1.055 GB, free: 13.59 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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.006852/0.3818, allocations: 2.01 MB / 1.057 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/0.3819, allocations: 8.031 kB / 1.057 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005817/0.3825, allocations: 168.5 kB / 1.057 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002436/0.385, allocations: 349.4 kB / 1.057 GB, free: 11 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004601/0.3896, allocations: 1.407 MB / 1.059 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002984/0.39, allocations: 157.5 kB / 1.059 GB, free: 9.371 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003559/0.3903, allocations: 108 kB / 1.059 GB, free: 9.266 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005205/0.3955, allocations: 1.414 MB / 1.06 GB, free: 7.762 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.646e-05/0.3957, allocations: 11.94 kB / 1.06 GB, free: 7.75 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002147/0.3959, allocations: 48 kB / 1.06 GB, free: 7.703 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.486e-05/0.396, allocations: 35.94 kB / 1.06 GB, free: 7.668 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006209/0.4022, allocations: 1.327 MB / 1.062 GB, free: 6.344 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.6878/1.09, allocations: 6.392 MB / 1.068 GB, free: 88.89 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006174/1.096, allocations: 1.15 MB / 1.069 GB, free: 88.49 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001343/1.098, allocations: 1.143 MB / 1.07 GB, free: 87.18 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.085e-05/1.098, allocations: 43.27 kB / 1.07 GB, free: 87.14 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=77): time 4.599e-06/1.098, allocations: 1.031 kB / 1.07 GB, free: 87.14 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77): time 0.01114/1.109, allocations: 1.577 MB / 1.072 GB, free: 87.01 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/1.109, allocations: 112.3 kB / 1.072 GB, free: 86.89 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00448/1.114, allocations: 1.309 MB / 1.073 GB, free: 86.37 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003665/1.114, allocations: 43.42 kB / 1.073 GB, free: 86.33 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001192/1.115, allocations: 0.7202 MB / 1.074 GB, free: 85.82 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005746/1.116, allocations: 260.7 kB / 1.074 GB, free: 85.64 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/1.116, allocations: 19.47 kB / 1.074 GB, free: 85.62 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001441/1.116, allocations: 338.8 kB / 1.075 GB, free: 85.31 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003598/1.12, allocations: 491.7 kB / 1.075 GB, free: 85.18 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004037/1.124, allocations: 0.7066 MB / 1.076 GB, free: 84.79 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002616/1.127, allocations: 0.5225 MB / 1.076 GB, free: 84.62 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/1.127, allocations: 1.594 kB / 1.076 GB, free: 84.62 MB / 0.6823 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.005881/1.133, allocations: 1.343 MB / 1.078 GB, free: 84.18 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004766/1.133, allocations: 1.875 MB / 1.079 GB, free: 82.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.266e-05/1.133, allocations: 8.766 kB / 1.079 GB, free: 82.17 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.726e-05/1.133, allocations: 9.953 kB / 1.079 GB, free: 82.17 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002513/1.136, allocations: 296.1 kB / 1.08 GB, free: 82.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.32e-05/1.136, allocations: 12.94 kB / 1.08 GB, free: 82.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002526/1.138, allocations: 217.5 kB / 1.08 GB, free: 82.08 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001801/1.139, allocations: 39.61 kB / 1.08 GB, free: 82.07 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/1.139, allocations: 7.969 kB / 1.08 GB, free: 82.07 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005539/1.144, allocations: 1.18 MB / 1.081 GB, free: 81.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.075e-05/1.144, allocations: 5.766 kB / 1.081 GB, free: 81.71 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.481e-05/1.144, allocations: 9.781 kB / 1.081 GB, free: 81.71 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002767/1.147, allocations: 293.6 kB / 1.081 GB, free: 81.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.795e-05/1.147, allocations: 11.05 kB / 1.081 GB, free: 81.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002547/1.15, allocations: 205.8 kB / 1.082 GB, free: 81.64 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002573/1.15, allocations: 38.22 kB / 1.082 GB, free: 81.63 MB / 0.6823 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 (reaToInt.y,intGreThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * 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.001313/1.151, allocations: 471.9 kB / 1.082 GB, free: 81.29 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005804/1.152, allocations: 145.8 kB / 1.082 GB, free: 81.21 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006265/1.158, allocations: 1.475 MB / 1.084 GB, free: 80.68 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-05/1.158, allocations: 8.984 kB / 1.084 GB, free: 80.68 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/1.158, allocations: 0 / 1.084 GB, free: 80.68 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004781/1.163, allocations: 1.101 MB / 1.085 GB, free: 80.24 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01116/1.174, allocations: 2.904 MB / 1.088 GB, free: 78.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.969e-05/1.174, allocations: 5.125 kB / 1.088 GB, free: 78.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002078/1.177, allocations: 219.1 kB / 1.088 GB, free: 78.86 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.74e-05/1.177, allocations: 7.562 kB / 1.088 GB, free: 78.86 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001524/1.177, allocations: 26.12 kB / 1.088 GB, free: 78.85 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-05/1.177, allocations: 7.328 kB / 1.088 GB, free: 78.85 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.288e-05/1.177, allocations: 13.36 kB / 1.088 GB, free: 78.84 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008696/1.186, allocations: 2.292 MB / 1.09 GB, free: 77.48 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001353/1.187, allocations: 377.7 kB / 1.09 GB, free: 77.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003693/1.187, allocations: 26.39 kB / 1.09 GB, free: 77.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002328/1.19, allocations: 159.7 kB / 1.091 GB, free: 77.17 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003145/1.19, allocations: 83.03 kB / 1.091 GB, free: 77.15 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001531/1.19, allocations: 43.64 kB / 1.091 GB, free: 77.14 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002122/1.192, allocations: 0.9328 MB / 1.092 GB, free: 76.76 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.51e-07/1.192, allocations: 0 / 1.092 GB, free: 76.76 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003366/1.196, allocations: 0.7992 MB / 1.092 GB, free: 76.62 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.vol1.dynBal.U,heaPum.vol2.dynBal.U) * Number of discrete variables: 2 (reaToInt.y,intGreThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 71 * 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.009511/1.205, allocations: 4.371 MB / 1.097 GB, free: 73.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.007517/1.213, allocations: 1.779 MB / 1.098 GB, free: 73.08 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-05/1.213, allocations: 3.516 kB / 1.098 GB, free: 73.08 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002858/1.216, allocations: 0.6357 MB / 1.099 GB, free: 72.89 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005917/1.222, allocations: 0.6747 MB / 1.1 GB, free: 72.72 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/1.233, allocations: 7.39 MB / 1.107 GB, free: 66.79 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001269/1.234, allocations: 1.311 MB / 1.108 GB, free: 66.02 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00321/1.237, allocations: 383.9 kB / 1.109 GB, free: 65.91 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00144/1.239, allocations: 0.6064 MB / 1.109 GB, free: 65.45 MB / 0.6823 GB Notification: Performance of SimCode: time 1.593e-06/1.239, allocations: 4 kB / 1.109 GB, free: 65.44 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1061/1.345, allocations: 40.43 MB / 1.149 GB, free: 34.96 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002261/1.345, allocations: 240.6 kB / 1.149 GB, free: 34.71 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.574/5.919, allocations: 4 kB / 1.149 GB, free: 34.71 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1)