Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.Validation.ReciprocatingWaterToWater_VariableSpeed,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed",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.001049/0.001049, allocations: 100 kB / 15.05 MB, free: 1.105 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.00114/0.00114, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.182/2.182, allocations: 409.2 MB / 0.6838 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005771/0.0005772, allocations: 16 kB / 0.8375 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7286/0.7292, allocations: 146.8 MB / 0.9809 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.05569/0.7849, allocations: 58.58 MB / 1.038 GB, free: 11.58 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01744/0.8024, allocations: 12.28 MB / 1.05 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002282/0.8048, allocations: 55.62 kB / 1.05 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002276/0.8071, allocations: 0.7928 MB / 1.051 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.005997/0.8131, allocations: 2.239 MB / 1.053 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.005318/0.8184, allocations: 1.911 MB / 1.055 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.004427/0.8228, allocations: 2.689 MB / 1.058 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001697/0.8246, allocations: 1.18 MB / 1.059 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002248/0.8268, allocations: 1.277 MB / 1.06 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001077/0.8279, allocations: 0.8361 MB / 1.061 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001812/0.8281, allocations: 75.94 kB / 1.061 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002718/0.8308, allocations: 1.174 MB / 1.062 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0003106/0.8312, allocations: 306.8 kB / 1.062 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0004162/0.8316, allocations: 396.8 kB / 1.063 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002657/0.8342, allocations: 2.455 MB / 1.065 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.8343, allocations: 0 / 1.065 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8343, allocations: 0 / 1.065 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.628e-05/0.8343, allocations: 0 / 1.065 GB, free: 15.87 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.003329/0.8376, allocations: 1.97 MB / 1.067 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.8377, allocations: 12.03 kB / 1.067 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002138/0.8379, allocations: 177.4 kB / 1.067 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004555/0.8425, allocations: 0.6964 MB / 1.068 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002409/0.8449, allocations: 1.453 MB / 1.069 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/0.845, allocations: 128 kB / 1.069 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001801/0.8452, allocations: 120 kB / 1.07 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003505/0.8487, allocations: 1.652 MB / 1.071 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/0.8488, allocations: 3.938 kB / 1.071 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001336/0.8489, allocations: 52 kB / 1.071 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.229e-05/0.849, allocations: 43.92 kB / 1.071 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004218/0.8532, allocations: 1.488 MB / 1.073 GB, free: 7.84 MB / 0.8262 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.00944/0.8626, allocations: 7.017 MB / 1.08 GB, free: 492 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00217/0.8648, allocations: 0.7919 MB / 1.08 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001198/0.866, allocations: 1.274 MB / 1.082 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001814/0.8679, allocations: 0.6597 MB / 1.082 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=69): time 2.925e-06/0.8679, allocations: 4 kB / 1.082 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of matching and sorting (n=69): time 0.009842/0.8777, allocations: 2.158 MB / 1.084 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001576/0.8779, allocations: 321 kB / 1.085 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00215/0.8801, allocations: 1.426 MB / 1.086 GB, free: 9.418 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.000151/0.8802, allocations: 45.7 kB / 1.086 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005692/0.8808, allocations: 0.6997 MB / 1.087 GB, free: 8.66 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002257/0.8811, allocations: 244.5 kB / 1.087 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.894e-05/0.8811, allocations: 16 kB / 1.087 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.8813, allocations: 345.9 kB / 1.087 GB, free: 8.059 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001806/0.8831, allocations: 0.5211 MB / 1.088 GB, free: 7.539 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001985/0.8851, allocations: 0.8257 MB / 1.089 GB, free: 6.594 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001862/0.8869, allocations: 0.6021 MB / 1.089 GB, free: 5.984 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.8869, allocations: 0 / 1.089 GB, free: 5.984 MB / 0.8419 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.006795/0.8937, allocations: 1.825 MB / 1.091 GB, free: 4.141 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.000873/0.8946, allocations: 2.527 MB / 1.093 GB, free: 1.465 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.8947, allocations: 8 kB / 1.093 GB, free: 1.457 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001239/0.8959, allocations: 375.8 kB / 1.094 GB, free: 1.094 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/0.8973, allocations: 279.5 kB / 1.094 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001105/0.8984, allocations: 0.9093 MB / 1.095 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002231/0.9006, allocations: 290.6 kB / 1.095 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.9007, allocations: 55.95 kB / 1.095 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 8.827e-06/0.9007, allocations: 5.25 kB / 1.095 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006443/0.9072, allocations: 1.68 MB / 1.097 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.9072, allocations: 8 kB / 1.097 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001178/0.9084, allocations: 374.4 kB / 1.097 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/0.9097, allocations: 275.5 kB / 1.098 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001054/0.9108, allocations: 0.9016 MB / 1.098 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002058/0.9129, allocations: 262.7 kB / 1.099 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.913, allocations: 59.94 kB / 1.099 GB, free: 11.96 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0008562/0.9138, allocations: 456.8 kB / 1.099 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002717/0.9141, allocations: 150.2 kB / 1.099 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003777/0.9179, allocations: 1.274 MB / 1.101 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.9179, allocations: 8 kB / 1.101 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.9179, allocations: 4 kB / 1.101 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003157/0.9211, allocations: 1.084 MB / 1.102 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006691/0.9278, allocations: 3.349 MB / 1.105 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.9278, allocations: 4 kB / 1.105 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009082/0.9287, allocations: 172 kB / 1.105 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001163/0.9299, allocations: 365.2 kB / 1.105 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.127e-05/0.93, allocations: 27.97 kB / 1.105 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001096/0.9311, allocations: 0.8923 MB / 1.106 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.265e-06/0.9311, allocations: 15.88 kB / 1.106 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005603/0.9367, allocations: 2.25 MB / 1.109 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008854/0.9376, allocations: 406.8 kB / 1.109 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002261/0.9379, allocations: 20.12 kB / 1.109 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001673/0.9395, allocations: 175 kB / 1.109 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.9397, allocations: 68.23 kB / 1.109 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.329e-05/0.9398, allocations: 43.95 kB / 1.109 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001668/0.9415, allocations: 1.017 MB / 1.11 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9415, allocations: 0 / 1.11 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002309/0.9438, allocations: 0.9125 MB / 1.111 GB, free: 14.82 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,heaPum.com.isOn,N.T_start,N.count) * Number of discrete states: 2 (N.count,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.006976/0.9508, allocations: 4.399 MB / 1.115 GB, free: 10.28 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.006066/0.9569, allocations: 2.007 MB / 1.117 GB, free: 8.25 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 9.398e-06/0.9569, allocations: 4 kB / 1.117 GB, free: 8.246 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001826/0.9587, allocations: 0.5721 MB / 1.118 GB, free: 7.676 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003442/0.9622, allocations: 0.7673 MB / 1.119 GB, free: 6.922 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00844/0.9706, allocations: 8.258 MB / 1.127 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008281/0.9715, allocations: 1.242 MB / 1.128 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001837/0.9734, allocations: 378.9 kB / 1.128 GB, free: 12.8 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008087/0.9742, allocations: 0.5812 MB / 1.129 GB, free: 12.22 MB / 0.8887 GB Notification: Performance of SimCode: time 5.91e-07/0.9742, allocations: 0 / 1.129 GB, free: 12.22 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.694/4.668, allocations: 49.7 MB / 1.177 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003405/4.669, allocations: 280.8 kB / 1.178 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.272/7.941, allocations: 1.562 kB / 1.178 GB, free: 10.84 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=2000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed_res.mat does not exist to compare? outputFormat=mat