Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.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_Static,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",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.001263/0.001264, allocations: 100.1 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.001608/0.001608, 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.351/1.351, allocations: 223.2 MB / 239.9 MB, free: 5.363 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.474/2.474, allocations: 390.3 MB / 0.6653 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003698/0.0003698, allocations: 12 kB / 0.8146 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7847/0.7851, allocations: 142.3 MB / 0.9536 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.05658/0.8417, allocations: 58.54 MB / 1.011 GB, free: 5.504 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02115/0.863, allocations: 12.26 MB / 1.023 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003894/0.8669, allocations: 59.62 kB / 1.023 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.004364/0.8713, allocations: 0.7928 MB / 1.024 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0107/0.882, allocations: 2.236 MB / 1.026 GB, free: 6.133 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.006791/0.8889, allocations: 1.893 MB / 1.028 GB, free: 4.273 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.006236/0.8951, allocations: 2.651 MB / 1.03 GB, free: 1.617 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002331/0.8975, allocations: 1.16 MB / 1.031 GB, free: 440 kB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003289/0.9008, allocations: 1.265 MB / 1.033 GB, free: 15.16 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001628/0.9024, allocations: 0.8205 MB / 1.033 GB, free: 14.34 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002217/0.9027, allocations: 68 kB / 1.033 GB, free: 14.27 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00368/0.9064, allocations: 1.166 MB / 1.035 GB, free: 13.1 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0003776/0.9068, allocations: 302.7 kB / 1.035 GB, free: 12.8 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0007014/0.9075, allocations: 396.8 kB / 1.035 GB, free: 12.41 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.003619/0.9111, allocations: 2.42 MB / 1.038 GB, free: 9.984 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.9111, allocations: 3.938 kB / 1.038 GB, free: 9.98 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.757e-06/0.9111, allocations: 0 / 1.038 GB, free: 9.98 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.257e-05/0.9112, allocations: 0 / 1.038 GB, free: 9.98 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: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.004076/0.9153, allocations: 1.924 MB / 1.039 GB, free: 7.988 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.9153, allocations: 8.031 kB / 1.039 GB, free: 7.98 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002741/0.9156, allocations: 181.3 kB / 1.04 GB, free: 7.793 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004745/0.9204, allocations: 0.6885 MB / 1.04 GB, free: 7.102 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002691/0.9231, allocations: 1.437 MB / 1.042 GB, free: 5.609 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001335/0.9232, allocations: 131.9 kB / 1.042 GB, free: 5.473 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001853/0.9234, allocations: 128 kB / 1.042 GB, free: 5.348 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003654/0.9271, allocations: 1.623 MB / 1.044 GB, free: 3.629 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/0.9271, allocations: 0 / 1.044 GB, free: 3.629 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001376/0.9273, allocations: 48 kB / 1.044 GB, free: 3.582 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.106e-05/0.9273, allocations: 43.92 kB / 1.044 GB, free: 3.539 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004318/0.9317, allocations: 1.464 MB / 1.045 GB, free: 2.066 MB / 0.795 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.01066/0.9423, allocations: 7.242 MB / 1.052 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002328/0.9447, allocations: 0.8119 MB / 1.053 GB, free: 9.625 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00143/0.9462, allocations: 1.267 MB / 1.054 GB, free: 8.082 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.302e-05/0.9462, allocations: 39.12 kB / 1.054 GB, free: 8.035 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=68): time 2.494e-06/0.9462, allocations: 0 / 1.054 GB, free: 8.035 MB / 0.8106 GB Notification: Performance of matching and sorting (n=68): time 0.009636/0.9559, allocations: 2.218 MB / 1.056 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.247e-05/0.956, allocations: 111.4 kB / 1.056 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002318/0.9583, allocations: 1.398 MB / 1.058 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001648/0.9585, allocations: 45.7 kB / 1.058 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.00063/0.9591, allocations: 0.692 MB / 1.059 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002537/0.9594, allocations: 232.6 kB / 1.059 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.887e-05/0.9595, allocations: 16 kB / 1.059 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.9596, allocations: 345.9 kB / 1.059 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001782/0.9614, allocations: 0.4899 MB / 1.06 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001932/0.9633, allocations: 0.7595 MB / 1.06 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001841/0.9652, allocations: 0.5574 MB / 1.061 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.009e-05/0.9652, allocations: 4 kB / 1.061 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004761/0.97, allocations: 1.547 MB / 1.062 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009402/0.9709, allocations: 2.489 MB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/0.971, allocations: 4 kB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001647/0.9726, allocations: 460 kB / 1.065 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/0.974, allocations: 263.6 kB / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001479/0.9755, allocations: 1.068 MB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002511/0.978, allocations: 292.1 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001363/0.9782, allocations: 59.88 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.9782, allocations: 5.25 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004415/0.9826, allocations: 1.398 MB / 1.068 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.9826, allocations: 8 kB / 1.068 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001512/0.9842, allocations: 453.5 kB / 1.069 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001377/0.9856, allocations: 259.5 kB / 1.069 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001529/0.9871, allocations: 1.079 MB / 1.07 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002334/0.9894, allocations: 243.3 kB / 1.07 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001357/0.9896, allocations: 55.94 kB / 1.07 GB, free: 7.133 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 23} Notification: Performance of prepare postOptimizeDAE: time 0.0009984/0.9906, allocations: 448.6 kB / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003652/0.991, allocations: 150.5 kB / 1.071 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004137/0.9951, allocations: 1.323 MB / 1.072 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.759e-05/0.9952, allocations: 12 kB / 1.072 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.9952, allocations: 0 / 1.072 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003373/0.9986, allocations: 1.135 MB / 1.073 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008506/1.007, allocations: 3.453 MB / 1.077 GB, free: 360 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/1.007, allocations: 4 kB / 1.077 GB, free: 356 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009081/1.008, allocations: 159.8 kB / 1.077 GB, free: 196 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001517/1.01, allocations: 449.6 kB / 1.077 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.377e-05/1.01, allocations: 23.97 kB / 1.077 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001499/1.011, allocations: 1.064 MB / 1.078 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.757e-06/1.011, allocations: 7.953 kB / 1.078 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004503/1.016, allocations: 1.626 MB / 1.08 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/1.017, allocations: 398.9 kB / 1.08 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002449/1.017, allocations: 20 kB / 1.08 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001683/1.019, allocations: 162.5 kB / 1.08 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/1.019, allocations: 52.27 kB / 1.081 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/1.019, allocations: 51.94 kB / 1.081 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001756/1.021, allocations: 0.9888 MB / 1.082 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.3e-07/1.021, allocations: 0 / 1.082 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002991/1.024, allocations: 0.8928 MB / 1.082 GB, free: 10.25 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {4 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.006618/1.03, allocations: 3.697 MB / 1.086 GB, free: 6.418 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.006329/1.037, allocations: 1.834 MB / 1.088 GB, free: 4.582 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-05/1.037, allocations: 4 kB / 1.088 GB, free: 4.578 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001868/1.039, allocations: 0.5334 MB / 1.088 GB, free: 4.047 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00408/1.043, allocations: 0.7668 MB / 1.089 GB, free: 3.285 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009232/1.052, allocations: 8.164 MB / 1.097 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008466/1.053, allocations: 1.231 MB / 1.098 GB, free: 9.617 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001946/1.055, allocations: 348.7 kB / 1.099 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008633/1.056, allocations: 0.5617 MB / 1.099 GB, free: 8.723 MB / 0.8575 GB Notification: Performance of SimCode: time 1.242e-06/1.056, allocations: 0 / 1.099 GB, free: 8.723 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08452/1.14, allocations: 49.05 MB / 1.147 GB, free: 8.266 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002453/1.141, allocations: 275.3 kB / 1.147 GB, free: 7.902 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.938/4.079, allocations: 0 / 1.147 GB, free: 7.902 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static_res.mat does not exist to compare? outputFormat=mat