Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.Validation.ReciprocatingWaterToWater_Dynamic,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic",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.0009622/0.0009621, allocations: 99.23 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.001055/0.001055, allocations: 177.3 kB / 15.94 MB, free: 228 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.295/1.295, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.405/2.405, allocations: 390.3 MB / 0.6653 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003968/0.0003969, allocations: 12 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8223/0.8227, allocations: 142.3 MB / 0.9536 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.1091/0.9319, allocations: 109.4 MB / 1.06 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.03519/0.9671, allocations: 21.43 MB / 1.081 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006111/0.9733, allocations: 111.2 kB / 1.081 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.006919/0.9802, allocations: 1.461 MB / 1.083 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01634/0.9966, allocations: 4.187 MB / 1.087 GB, free: 7.293 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.01074/1.007, allocations: 3.138 MB / 1.09 GB, free: 4.207 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01129/1.019, allocations: 5.129 MB / 1.095 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005374/1.024, allocations: 2.296 MB / 1.097 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006728/1.031, allocations: 2.441 MB / 1.1 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003951/1.035, allocations: 1.579 MB / 1.101 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001273/1.036, allocations: 128 kB / 1.101 GB, free: 8.574 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006706/1.043, allocations: 1.748 MB / 1.103 GB, free: 6.824 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001457/1.044, allocations: 0.5719 MB / 1.104 GB, free: 6.25 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002/1.046, allocations: 0.7343 MB / 1.104 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.008279/1.055, allocations: 4.578 MB / 1.109 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/1.055, allocations: 0 / 1.109 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.164e-06/1.055, allocations: 0 / 1.109 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0002109/1.055, allocations: 4 kB / 1.109 GB, free: 0.9141 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.008411/1.063, allocations: 3.37 MB / 1.112 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/1.063, allocations: 12.03 kB / 1.112 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009248/1.064, allocations: 328.8 kB / 1.112 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01007/1.074, allocations: 1.366 MB / 1.114 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00611/1.081, allocations: 2.717 MB / 1.116 GB, free: 8.934 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000336/1.081, allocations: 256 kB / 1.117 GB, free: 8.668 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006885/1.082, allocations: 240 kB / 1.117 GB, free: 8.434 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008835/1.091, allocations: 3.171 MB / 1.12 GB, free: 5.074 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.355e-05/1.091, allocations: 7.891 kB / 1.12 GB, free: 5.066 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004157/1.091, allocations: 100 kB / 1.12 GB, free: 4.969 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.279e-05/1.091, allocations: 71.98 kB / 1.12 GB, free: 4.898 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009588/1.101, allocations: 2.815 MB / 1.123 GB, free: 2.066 MB / 0.8731 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.02542/1.126, allocations: 13.68 MB / 1.136 GB, free: 3.73 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004428/1.131, allocations: 1.444 MB / 1.138 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001874/1.133, allocations: 1.785 MB / 1.139 GB, free: 104 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003683/1.136, allocations: 1.15 MB / 1.14 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=126): time 4.468e-06/1.136, allocations: 0 / 1.14 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of matching and sorting (n=130): time 0.03527/1.172, allocations: 9.731 MB / 1.15 GB, free: 4.996 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002732/1.172, allocations: 0.5805 MB / 1.151 GB, free: 4.281 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005139/1.177, allocations: 2.686 MB / 1.153 GB, free: 1.578 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0006889/1.178, allocations: 69.64 kB / 1.153 GB, free: 1.504 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001849/1.18, allocations: 1.341 MB / 1.155 GB, free: 152 kB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.001003/1.181, allocations: 457.7 kB / 1.155 GB, free: 15.69 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001933/1.181, allocations: 36 kB / 1.155 GB, free: 15.66 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002319/1.181, allocations: 373.9 kB / 1.155 GB, free: 15.29 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003632/1.185, allocations: 0.9446 MB / 1.156 GB, free: 14.34 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004059/1.189, allocations: 1.53 MB / 1.158 GB, free: 12.57 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003701/1.193, allocations: 1.085 MB / 1.159 GB, free: 11.47 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.948e-06/1.193, allocations: 4 kB / 1.159 GB, free: 11.47 MB / 0.92 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.01088/1.204, allocations: 3.09 MB / 1.162 GB, free: 8.359 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.002182/1.206, allocations: 5.254 MB / 1.167 GB, free: 2.703 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.338e-05/1.206, allocations: 12 kB / 1.167 GB, free: 2.691 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003172/1.209, allocations: 0.9251 MB / 1.168 GB, free: 1.766 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00274/1.212, allocations: 483.2 kB / 1.168 GB, free: 1.293 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003359/1.215, allocations: 2.199 MB / 1.171 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00492/1.22, allocations: 395.2 kB / 1.171 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004191/1.221, allocations: 103.8 kB / 1.171 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/1.221, allocations: 5.25 kB / 1.171 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01012/1.231, allocations: 2.81 MB / 1.174 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.839e-05/1.231, allocations: 12 kB / 1.174 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003045/1.234, allocations: 0.9195 MB / 1.175 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002647/1.237, allocations: 483.2 kB / 1.175 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003081/1.24, allocations: 2.186 MB / 1.177 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004465/1.244, allocations: 363.4 kB / 1.178 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003625/1.245, allocations: 103.9 kB / 1.178 GB, free: 7.625 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count,realToInteger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (168): * Single equations (assignments): 165 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 23,4 25} Notification: Performance of prepare postOptimizeDAE: time 0.001736/1.246, allocations: 0.6972 MB / 1.178 GB, free: 6.918 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008754/1.247, allocations: 284.6 kB / 1.179 GB, free: 6.637 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008787/1.256, allocations: 2.375 MB / 1.181 GB, free: 4.246 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.219e-05/1.256, allocations: 16 kB / 1.181 GB, free: 4.23 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-05/1.256, allocations: 256 / 1.181 GB, free: 4.23 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00732/1.263, allocations: 1.99 MB / 1.183 GB, free: 2.18 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01663/1.28, allocations: 6.249 MB / 1.189 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.038e-05/1.28, allocations: 4 kB / 1.189 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001737/1.282, allocations: 288.2 kB / 1.189 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002727/1.285, allocations: 0.7913 MB / 1.19 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001556/1.285, allocations: 51.94 kB / 1.19 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002573/1.287, allocations: 1.97 MB / 1.192 GB, free: 8.609 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.238e-06/1.287, allocations: 8 kB / 1.192 GB, free: 8.602 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01301/1.3, allocations: 4.357 MB / 1.196 GB, free: 3.832 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002022/1.302, allocations: 0.6691 MB / 1.197 GB, free: 3.141 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009179/1.303, allocations: 36 kB / 1.197 GB, free: 3.105 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003679/1.307, allocations: 283.6 kB / 1.197 GB, free: 2.828 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002388/1.307, allocations: 108.7 kB / 1.197 GB, free: 2.723 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002132/1.308, allocations: 83.91 kB / 1.197 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.004032/1.312, allocations: 1.891 MB / 1.199 GB, free: 0.75 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.61e-07/1.312, allocations: 0 / 1.199 GB, free: 0.75 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.006171/1.318, allocations: 1.5 MB / 1.201 GB, free: 15.25 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 2 (heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum1.com.isOn,N.T_start,N.count,realToInteger.y) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 78 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 17,4 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01554/1.333, allocations: 7.266 MB / 1.208 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.01233/1.346, allocations: 3.654 MB / 1.211 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-05/1.346, allocations: 4.438 kB / 1.211 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.003653/1.349, allocations: 1.051 MB / 1.212 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007867/1.357, allocations: 1.49 MB / 1.214 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02032/1.378, allocations: 16.15 MB / 1.23 GB, free: 0.7891 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001683/1.379, allocations: 1.779 MB / 1.231 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003849/1.383, allocations: 0.6635 MB / 1.232 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001758/1.385, allocations: 1.179 MB / 1.233 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of SimCode: time 6.91e-07/1.385, allocations: 0 / 1.233 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6709/2.056, allocations: 94.05 MB / 1.325 GB, free: 249.8 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002076/2.056, allocations: 270.4 kB / 1.325 GB, free: 249.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.576/6.632, allocations: 3.938 kB / 1.325 GB, free: 249.5 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic_res.mat does not exist to compare? outputFormat=mat