Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.49/2.49, allocations: 393.5 MB / 408.4 MB, free: 11.05 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 191 kB / 0.4901 GB, free: 2.234 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.798/1.798, allocations: 223.1 MB / 0.7992 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 103.2 kB / 0.9396 GB, free: 2.875 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003912/0.0003911, allocations: 9.422 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3281, allocations: 143 MB / 1.229 GB, free: 85.39 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.209/1.537, allocations: 435.9 MB / 1.655 GB, free: 5.668 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003302/1.538, allocations: 101.1 kB / 1.655 GB, free: 5.613 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 1.97/3.508, allocations: 0.5621 GB / 2.217 GB, free: 88.75 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.893e-06/3.508, allocations: 0 / 2.217 GB, free: 88.75 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002697/3.508, allocations: 39.98 kB / 2.217 GB, free: 88.71 MB / 1.167 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.00704/3.515, allocations: 2.119 MB / 2.219 GB, free: 86.52 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/3.515, allocations: 8.828 kB / 2.219 GB, free: 86.51 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006895/3.516, allocations: 181.4 kB / 2.219 GB, free: 86.32 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005296/3.521, allocations: 0.669 MB / 2.22 GB, free: 85.65 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005055/3.526, allocations: 1.797 MB / 2.222 GB, free: 83.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002152/3.526, allocations: 131.9 kB / 2.222 GB, free: 83.66 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004642/3.527, allocations: 112 kB / 2.222 GB, free: 83.55 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005108/3.532, allocations: 1.66 MB / 2.224 GB, free: 81.79 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.577e-05/3.532, allocations: 7.938 kB / 2.224 GB, free: 81.78 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002718/3.532, allocations: 55.94 kB / 2.224 GB, free: 81.73 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.79e-05/3.532, allocations: 50.16 kB / 2.224 GB, free: 81.68 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004966/3.537, allocations: 1.492 MB / 2.225 GB, free: 80.18 MB / 1.167 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.01145/3.549, allocations: 7.087 MB / 2.232 GB, free: 72.75 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002129/3.551, allocations: 0.7752 MB / 2.233 GB, free: 71.96 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001083/3.552, allocations: 1.263 MB / 2.234 GB, free: 70.43 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/3.552, allocations: 47.12 kB / 2.234 GB, free: 70.37 MB / 1.167 GB Notification: Performance of pre-optimization done (n=66): time 3.236e-06/3.552, allocations: 0 / 2.234 GB, free: 70.37 MB / 1.167 GB Notification: Performance of matching and sorting (n=66): time 0.02348/3.576, allocations: 3.746 MB / 2.238 GB, free: 66.59 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/3.576, allocations: 111.4 kB / 2.238 GB, free: 66.46 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002096/3.578, allocations: 1.263 MB / 2.239 GB, free: 65.19 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001627/3.578, allocations: 53.62 kB / 2.239 GB, free: 65.13 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005503/3.579, allocations: 0.6919 MB / 2.24 GB, free: 64.43 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002201/3.579, allocations: 232.8 kB / 2.24 GB, free: 64.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.447e-05/3.579, allocations: 12 kB / 2.24 GB, free: 64.19 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001005/3.579, allocations: 345.9 kB / 2.241 GB, free: 63.85 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001801/3.581, allocations: 0.4899 MB / 2.241 GB, free: 63.36 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0019/3.583, allocations: 0.7865 MB / 2.242 GB, free: 62.45 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001832/3.585, allocations: 0.5409 MB / 2.242 GB, free: 61.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/3.585, allocations: 8 kB / 2.242 GB, free: 61.89 MB / 1.167 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.004998/3.59, allocations: 1.564 MB / 2.244 GB, free: 60.32 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005268/3.59, allocations: 2.498 MB / 2.246 GB, free: 57.68 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/3.59, allocations: 4 kB / 2.246 GB, free: 57.68 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001827/3.592, allocations: 0.5683 MB / 2.247 GB, free: 57.11 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/3.593, allocations: 243.5 kB / 2.247 GB, free: 56.87 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001779/3.595, allocations: 1.173 MB / 2.248 GB, free: 55.67 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002815/3.598, allocations: 278.6 kB / 2.248 GB, free: 55.39 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/3.598, allocations: 55.94 kB / 2.249 GB, free: 55.34 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/3.598, allocations: 4 kB / 2.249 GB, free: 55.34 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004399/3.603, allocations: 1.415 MB / 2.25 GB, free: 53.92 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/3.603, allocations: 4 kB / 2.25 GB, free: 53.91 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001669/3.604, allocations: 0.5674 MB / 2.25 GB, free: 53.34 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/3.606, allocations: 239.6 kB / 2.251 GB, free: 53.11 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001635/3.607, allocations: 1.17 MB / 2.252 GB, free: 51.91 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002707/3.61, allocations: 238.8 kB / 2.252 GB, free: 51.68 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/3.61, allocations: 59.89 kB / 2.252 GB, free: 51.62 MB / 1.167 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 (74): * Single equations (assignments): 73 * 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 25} Notification: Performance of prepare postOptimizeDAE: time 0.001118/3.611, allocations: 440.9 kB / 2.253 GB, free: 51.18 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003356/3.612, allocations: 146.2 kB / 2.253 GB, free: 51.04 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004113/3.616, allocations: 1.322 MB / 2.254 GB, free: 49.69 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/3.616, allocations: 8 kB / 2.254 GB, free: 49.68 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/3.616, allocations: 0 / 2.254 GB, free: 49.68 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003506/3.619, allocations: 1.186 MB / 2.255 GB, free: 48.46 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007653/3.627, allocations: 3.448 MB / 2.259 GB, free: 44.82 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/3.627, allocations: 192 / 2.259 GB, free: 44.82 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008884/3.628, allocations: 155.8 kB / 2.259 GB, free: 44.67 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001758/3.63, allocations: 0.5473 MB / 2.259 GB, free: 44.12 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.917e-05/3.63, allocations: 31.97 kB / 2.259 GB, free: 44.09 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001611/3.631, allocations: 1.146 MB / 2.26 GB, free: 42.91 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/3.631, allocations: 11.89 kB / 2.26 GB, free: 42.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004104/3.635, allocations: 1.647 MB / 2.262 GB, free: 41.08 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009129/3.636, allocations: 394.9 kB / 2.262 GB, free: 40.68 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001924/3.637, allocations: 19.94 kB / 2.262 GB, free: 40.66 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001719/3.638, allocations: 155.7 kB / 2.263 GB, free: 40.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/3.638, allocations: 56.27 kB / 2.263 GB, free: 40.45 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.348e-05/3.638, allocations: 43.95 kB / 2.263 GB, free: 40.41 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001561/3.64, allocations: 1.005 MB / 2.264 GB, free: 39.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/3.64, allocations: 0 / 2.264 GB, free: 39.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002916/3.643, allocations: 0.9786 MB / 2.265 GB, free: 38.42 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (40): * Single equations (assignments): 37 * 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 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.006389/3.649, allocations: 3.895 MB / 2.268 GB, free: 34.42 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.006094/3.655, allocations: 1.834 MB / 2.27 GB, free: 32.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/3.656, allocations: 4 kB / 2.27 GB, free: 32.59 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001741/3.657, allocations: 0.5378 MB / 2.271 GB, free: 32.05 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003545/3.661, allocations: 0.7839 MB / 2.271 GB, free: 31.28 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02093/3.682, allocations: 13.51 MB / 2.285 GB, free: 17.28 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006187/3.682, allocations: 1.242 MB / 2.286 GB, free: 16.01 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00189/3.684, allocations: 331.9 kB / 2.286 GB, free: 15.68 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007012/3.685, allocations: 0.5617 MB / 2.287 GB, free: 15.12 MB / 1.167 GB Notification: Performance of SimCode: time 1.162e-06/3.685, allocations: 4 kB / 2.287 GB, free: 15.12 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7629/4.448, allocations: 55.32 MB / 2.341 GB, free: 246 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000186/4.448, allocations: 272.7 kB / 2.341 GB, free: 245.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.352/8.8, allocations: 0 / 2.341 GB, free: 245.7 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static_res.mat does not exist to compare? outputFormat=mat