Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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_Dynamic,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,fileNamePrefix="Buildings_latest_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.001257/0.001257, allocations: 100.5 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.001416/0.001417, 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.414/1.414, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.26/2.26, allocations: 409.2 MB / 0.6838 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003409/0.0003412, allocations: 12 kB / 0.8375 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7456/0.746, allocations: 146.8 MB / 0.9809 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.09616/0.8422, allocations: 109.4 MB / 1.088 GB, free: 8.617 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.03171/0.874, allocations: 21.43 MB / 1.109 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004897/0.8789, allocations: 123.1 kB / 1.109 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.005778/0.8847, allocations: 1.453 MB / 1.11 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01435/0.8991, allocations: 4.198 MB / 1.114 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.009936/0.909, allocations: 3.126 MB / 1.117 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01249/0.9215, allocations: 5.121 MB / 1.122 GB, free: 5.152 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00499/0.9266, allocations: 2.307 MB / 1.125 GB, free: 2.809 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006066/0.9327, allocations: 2.441 MB / 1.127 GB, free: 368 kB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004088/0.9368, allocations: 1.583 MB / 1.128 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0005678/0.9374, allocations: 132 kB / 1.129 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006269/0.9436, allocations: 1.736 MB / 1.13 GB, free: 12.9 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0009482/0.9446, allocations: 0.5757 MB / 1.131 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001633/0.9463, allocations: 0.7344 MB / 1.132 GB, free: 11.58 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.007121/0.9534, allocations: 4.567 MB / 1.136 GB, free: 7.004 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.9534, allocations: 4 kB / 1.136 GB, free: 7 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.926e-06/0.9534, allocations: 0 / 1.136 GB, free: 7 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001135/0.9536, allocations: 0 / 1.136 GB, free: 7 MB / 0.8887 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.006656/0.9602, allocations: 3.382 MB / 1.139 GB, free: 3.516 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.9603, allocations: 8.031 kB / 1.139 GB, free: 3.508 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005076/0.9608, allocations: 324.8 kB / 1.14 GB, free: 3.18 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009534/0.9703, allocations: 1.373 MB / 1.141 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005501/0.9759, allocations: 2.717 MB / 1.144 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000286/0.9762, allocations: 248 kB / 1.144 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005386/0.9767, allocations: 243.9 kB / 1.144 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007954/0.9847, allocations: 3.171 MB / 1.147 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.15e-05/0.9848, allocations: 7.938 kB / 1.147 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003163/0.9851, allocations: 112 kB / 1.147 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.014e-05/0.9852, allocations: 71.92 kB / 1.147 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008587/0.9938, allocations: 2.807 MB / 1.15 GB, free: 8.141 MB / 0.9044 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.02242/1.016, allocations: 13.69 MB / 1.164 GB, free: 9.785 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004111/1.02, allocations: 1.442 MB / 1.165 GB, free: 8.34 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001913/1.022, allocations: 1.777 MB / 1.167 GB, free: 6.176 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003688/1.026, allocations: 1.157 MB / 1.168 GB, free: 4.957 MB / 0.92 GB Notification: Performance of pre-optimization done (n=126): time 4.208e-06/1.026, allocations: 0 / 1.168 GB, free: 4.957 MB / 0.92 GB Notification: Performance of matching and sorting (n=130): time 0.03164/1.058, allocations: 9.723 MB / 1.177 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003822/1.058, allocations: 0.5805 MB / 1.178 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004919/1.063, allocations: 2.69 MB / 1.18 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0006267/1.064, allocations: 61.69 kB / 1.181 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001718/1.065, allocations: 1.347 MB / 1.182 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009186/1.066, allocations: 457.5 kB / 1.182 GB, free: 5.77 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001714/1.067, allocations: 32 kB / 1.182 GB, free: 5.738 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002159/1.067, allocations: 377.8 kB / 1.183 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003572/1.07, allocations: 0.9446 MB / 1.184 GB, free: 4.418 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004347/1.075, allocations: 1.534 MB / 1.185 GB, free: 2.641 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003731/1.079, allocations: 1.085 MB / 1.186 GB, free: 1.547 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.989e-06/1.079, allocations: 4 kB / 1.186 GB, free: 1.543 MB / 0.9356 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.01059/1.089, allocations: 3.09 MB / 1.189 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.002135/1.091, allocations: 5.25 MB / 1.194 GB, free: 8.773 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.86e-05/1.091, allocations: 12 kB / 1.194 GB, free: 8.762 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003224/1.095, allocations: 0.9261 MB / 1.195 GB, free: 7.832 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002716/1.097, allocations: 475.2 kB / 1.196 GB, free: 7.367 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00305/1.1, allocations: 2.199 MB / 1.198 GB, free: 5.117 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004903/1.105, allocations: 391.3 kB / 1.198 GB, free: 4.734 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003209/1.106, allocations: 107.9 kB / 1.198 GB, free: 4.629 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/1.106, allocations: 4 kB / 1.198 GB, free: 4.625 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009516/1.115, allocations: 2.806 MB / 1.201 GB, free: 1.805 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.246e-05/1.115, allocations: 12 kB / 1.201 GB, free: 1.793 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002857/1.118, allocations: 0.9393 MB / 1.202 GB, free: 0.8555 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002592/1.121, allocations: 463.2 kB / 1.202 GB, free: 412 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003003/1.124, allocations: 2.195 MB / 1.205 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004714/1.129, allocations: 363.3 kB / 1.205 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004199/1.129, allocations: 103.9 kB / 1.205 GB, free: 13.7 MB / 0.9669 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.001872/1.131, allocations: 0.7017 MB / 1.206 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009082/1.132, allocations: 280.6 kB / 1.206 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008492/1.14, allocations: 2.384 MB / 1.208 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.284e-05/1.14, allocations: 12 kB / 1.208 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-05/1.14, allocations: 7.953 kB / 1.208 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007125/1.148, allocations: 1.982 MB / 1.21 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01438/1.162, allocations: 6.253 MB / 1.216 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.458e-05/1.162, allocations: 12 kB / 1.216 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001664/1.164, allocations: 280.1 kB / 1.217 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002523/1.166, allocations: 0.786 MB / 1.217 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001124/1.166, allocations: 51.94 kB / 1.217 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002419/1.169, allocations: 1.965 MB / 1.219 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/1.169, allocations: 11.94 kB / 1.219 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01206/1.181, allocations: 4.346 MB / 1.224 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001855/1.183, allocations: 0.673 MB / 1.224 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005666/1.183, allocations: 36 kB / 1.224 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003291/1.187, allocations: 283.5 kB / 1.225 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002044/1.187, allocations: 124.6 kB / 1.225 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001631/1.187, allocations: 71.92 kB / 1.225 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.003417/1.191, allocations: 1.898 MB / 1.227 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of sort global known variables: time 5.21e-07/1.191, allocations: 0 / 1.227 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.007354/1.198, allocations: 1.5 MB / 1.228 GB, free: 5.316 MB / 0.9825 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.01524/1.213, allocations: 7.261 MB / 1.235 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0121/1.225, allocations: 3.65 MB / 1.239 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.537e-05/1.225, allocations: 4.438 kB / 1.239 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003564/1.229, allocations: 1.055 MB / 1.24 GB, free: 9.102 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007703/1.237, allocations: 1.489 MB / 1.241 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5535/1.79, allocations: 16.14 MB / 1.257 GB, free: 245.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002147/1.792, allocations: 1.772 MB / 1.259 GB, free: 244.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.005634/1.798, allocations: 0.6555 MB / 1.259 GB, free: 244.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002767/1.801, allocations: 1.179 MB / 1.26 GB, free: 244.6 MB / 0.9981 GB Notification: Performance of SimCode: time 2.786e-06/1.801, allocations: 0 / 1.26 GB, free: 244.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.609/3.41, allocations: 94.06 MB / 1.352 GB, free: 169.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002189/3.41, allocations: 278.1 kB / 1.353 GB, free: 169 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.665/9.075, allocations: 0.75 kB / 1.353 GB, free: 169 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic_res.mat does not exist to compare? outputFormat=mat