Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.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.Examples.EquationFitReversible,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible",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.00129/0.00129, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001353/0.001353, allocations: 198.4 kB / 16.14 MB, free: 6.711 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.261/1.261, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.164/2.164, allocations: 390.2 MB / 0.6643 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 67.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5453/0.5466, allocations: 140.4 MB / 0.949 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.05649/0.6031, allocations: 62.25 MB / 1.01 GB, free: 3.637 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01725/0.6204, allocations: 13.71 MB / 1.023 GB, free: 5.891 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001892/0.6223, allocations: 59.62 kB / 1.023 GB, free: 5.832 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002303/0.6246, allocations: 0.8082 MB / 1.024 GB, free: 5.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.005068/0.6297, allocations: 2.197 MB / 1.026 GB, free: 2.812 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003277/0.633, allocations: 1.475 MB / 1.028 GB, free: 1.352 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.005251/0.6383, allocations: 5.473 MB / 1.033 GB, free: 11.87 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001704/0.64, allocations: 1.208 MB / 1.034 GB, free: 10.63 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002128/0.6421, allocations: 1.404 MB / 1.036 GB, free: 9.219 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00124/0.6434, allocations: 1.287 MB / 1.037 GB, free: 7.926 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001838/0.6436, allocations: 92 kB / 1.037 GB, free: 7.836 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002211/0.6458, allocations: 1.317 MB / 1.038 GB, free: 6.516 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0003573/0.6462, allocations: 446.3 kB / 1.039 GB, free: 6.078 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0007941/0.647, allocations: 0.9249 MB / 1.04 GB, free: 5.148 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002703/0.6497, allocations: 3.069 MB / 1.043 GB, free: 2.07 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.6497, allocations: 7.938 kB / 1.043 GB, free: 2.062 MB / 0.795 GB Notification: Performance of FrontEnd: time 7.41e-07/0.6497, allocations: 0 / 1.043 GB, free: 2.062 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.369e-05/0.6497, allocations: 0 / 1.043 GB, free: 2.062 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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.003763/0.6535, allocations: 2.341 MB / 1.045 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.6535, allocations: 8.031 kB / 1.045 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001932/0.6537, allocations: 160.8 kB / 1.045 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001293/0.655, allocations: 326.3 kB / 1.045 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001887/0.6569, allocations: 1.443 MB / 1.047 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001477/0.6571, allocations: 157.4 kB / 1.047 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001568/0.6573, allocations: 124 kB / 1.047 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002592/0.6599, allocations: 1.438 MB / 1.048 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.6599, allocations: 3.938 kB / 1.048 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000118/0.66, allocations: 44 kB / 1.048 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.565e-05/0.6601, allocations: 32 kB / 1.048 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00297/0.663, allocations: 1.339 MB / 1.05 GB, free: 10.43 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.006703/0.6697, allocations: 6.624 MB / 1.056 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002009/0.6718, allocations: 1.159 MB / 1.057 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001211/0.673, allocations: 0.5648 MB / 1.058 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007283/0.6737, allocations: 1.152 MB / 1.059 GB, free: 144 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.6738, allocations: 39.22 kB / 1.059 GB, free: 96 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=77): time 1.983e-06/0.6738, allocations: 0 / 1.059 GB, free: 96 kB / 0.8106 GB Notification: Performance of matching and sorting (n=77): time 0.003746/0.6775, allocations: 1.593 MB / 1.061 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.6776, allocations: 111.5 kB / 1.061 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001521/0.6791, allocations: 1.389 MB / 1.062 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 8.223e-05/0.6792, allocations: 45.7 kB / 1.062 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005008/0.6797, allocations: 0.7124 MB / 1.063 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001988/0.6799, allocations: 264.1 kB / 1.063 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002827/0.6802, allocations: 178.5 kB / 1.063 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.6803, allocations: 337.9 kB / 1.064 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001186/0.6815, allocations: 0.4966 MB / 1.064 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001327/0.6829, allocations: 0.719 MB / 1.065 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002319/0.6852, allocations: 1.125 MB / 1.066 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.6852, allocations: 4 kB / 1.066 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002822/0.688, allocations: 1.354 MB / 1.067 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.6881, allocations: 8 kB / 1.067 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.587e-06/0.6881, allocations: 4 kB / 1.067 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.6881, allocations: 11.94 kB / 1.067 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/0.6892, allocations: 272 kB / 1.067 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.592e-05/0.6892, allocations: 15.92 kB / 1.067 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/0.6903, allocations: 191 kB / 1.068 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.177e-05/0.6904, allocations: 39.98 kB / 1.068 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001497/0.6919, allocations: 0.8024 MB / 1.068 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00127/0.6932, allocations: 0.7151 MB / 1.069 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002252/0.6954, allocations: 1.125 MB / 1.07 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.405e-06/0.6954, allocations: 0 / 1.07 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.002793/0.6982, allocations: 1.343 MB / 1.072 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.6983, allocations: 13.78 kB / 1.072 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.6983, allocations: 8 kB / 1.072 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.844e-06/0.6983, allocations: 8 kB / 1.072 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/0.6994, allocations: 267.6 kB / 1.072 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.6994, allocations: 19.88 kB / 1.072 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/0.7005, allocations: 179.1 kB / 1.072 GB, free: 2.375 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.769e-05/0.7006, allocations: 39.98 kB / 1.072 GB, free: 2.336 MB / 0.8262 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 (intGreThr.y,reaToInt.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002127/0.7008, allocations: 240 kB / 1.072 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002391/0.701, allocations: 146.2 kB / 1.072 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003004/0.7041, allocations: 1.466 MB / 1.074 GB, free: 464 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.7041, allocations: 15.92 kB / 1.074 GB, free: 448 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.7041, allocations: 0 / 1.074 GB, free: 448 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002363/0.7065, allocations: 1.109 MB / 1.075 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00489/0.7114, allocations: 3.09 MB / 1.078 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.7114, allocations: 11.98 kB / 1.078 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009111/0.7123, allocations: 191.7 kB / 1.078 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.7123, allocations: 8 kB / 1.078 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.434e-05/0.7124, allocations: 23.94 kB / 1.078 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-05/0.7124, allocations: 15.92 kB / 1.078 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.7124, allocations: 4 kB / 1.078 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003942/0.7164, allocations: 2.064 MB / 1.08 GB, free: 9.695 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004955/0.7169, allocations: 378.8 kB / 1.081 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002348/0.7171, allocations: 31.78 kB / 1.081 GB, free: 9.273 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/0.7183, allocations: 147.7 kB / 1.081 GB, free: 9.129 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001799/0.7184, allocations: 76.41 kB / 1.081 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/0.7186, allocations: 43.97 kB / 1.081 GB, free: 9.008 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001264/0.7198, allocations: 1.068 MB / 1.082 GB, free: 7.945 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2e-07/0.7198, allocations: 8 kB / 1.082 GB, free: 7.938 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001695/0.7215, allocations: 0.7915 MB / 1.083 GB, free: 7.145 MB / 0.8419 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 (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.004918/0.7265, allocations: 2.95 MB / 1.086 GB, free: 4.121 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003894/0.7304, allocations: 1.802 MB / 1.087 GB, free: 2.324 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.7304, allocations: 8.125 kB / 1.087 GB, free: 2.316 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001447/0.7318, allocations: 0.6404 MB / 1.088 GB, free: 1.676 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003203/0.735, allocations: 0.7845 MB / 1.089 GB, free: 0.9023 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02202/0.7571, allocations: 14.1 MB / 1.103 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007444/0.7578, allocations: 1.277 MB / 1.104 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001548/0.7594, allocations: 400.2 kB / 1.104 GB, free: 412 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008181/0.7602, allocations: 0.6126 MB / 1.105 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of SimCode: time 4.11e-07/0.7602, allocations: 4 kB / 1.105 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7231/1.483, allocations: 44.6 MB / 1.148 GB, free: 3.711 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002662/1.484, allocations: 249.3 kB / 1.149 GB, free: 3.457 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.941/4.425, allocations: 0 / 1.149 GB, free: 3.457 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1)