Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.416/2.416, allocations: 387.1 MB / 399.7 MB, free: 9.469 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.001362/0.001361, allocations: 172.9 kB / 492.3 MB, free: 0.6094 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.702/1.702, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.001001/0.001001, allocations: 103.1 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.134e-05/4.149e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2863, allocations: 142.4 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.271/1.557, allocations: 436.8 MB / 1.639 GB, free: 9.922 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003535/1.558, allocations: 88.7 kB / 1.639 GB, free: 9.879 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.357/5.915, allocations: 1.066 GB / 2.705 GB, free: 157.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.663e-06/5.915, allocations: 0 / 2.705 GB, free: 157.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0005117/5.916, allocations: 84.25 kB / 2.705 GB, free: 157.3 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.01073/5.926, allocations: 3.198 MB / 2.709 GB, free: 156.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/5.926, allocations: 10.28 kB / 2.709 GB, free: 156.2 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001312/5.928, allocations: 320.2 kB / 2.709 GB, free: 156.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01135/5.939, allocations: 1.317 MB / 2.71 GB, free: 155.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01026/5.949, allocations: 3.319 MB / 2.713 GB, free: 155.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000406/5.95, allocations: 255.8 kB / 2.714 GB, free: 155.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009958/5.951, allocations: 233.6 kB / 2.714 GB, free: 155.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007802/5.959, allocations: 2.831 MB / 2.717 GB, free: 155 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.803e-05/5.959, allocations: 7.188 kB / 2.717 GB, free: 155 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00069/5.96, allocations: 104.5 kB / 2.717 GB, free: 155 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.675e-05/5.96, allocations: 68.28 kB / 2.717 GB, free: 155 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004827/5.965, allocations: 2.168 MB / 2.719 GB, free: 154.9 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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/5.987, allocations: 13.33 MB / 2.732 GB, free: 149.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001926/5.989, allocations: 1.249 MB / 2.733 GB, free: 149.1 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001032/5.99, allocations: 0.6584 MB / 2.734 GB, free: 149.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001724/5.992, allocations: 1.778 MB / 2.735 GB, free: 147.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002095/5.994, allocations: 0.9999 MB / 2.736 GB, free: 146.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=122): time 9.729e-06/5.994, allocations: 0 / 2.736 GB, free: 146.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=122): time 0.005844/6, allocations: 1.695 MB / 2.738 GB, free: 146.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002238/6, allocations: 0.9377 MB / 2.739 GB, free: 145.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004014/6.004, allocations: 2.251 MB / 2.741 GB, free: 145.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004168/6.005, allocations: 61.77 kB / 2.741 GB, free: 145.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001246/6.006, allocations: 1.367 MB / 2.743 GB, free: 144.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005236/6.006, allocations: 436.6 kB / 2.743 GB, free: 144.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/6.006, allocations: 34.78 kB / 2.743 GB, free: 144.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.624e-05/6.007, allocations: 371.2 kB / 2.743 GB, free: 144.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001154/6.008, allocations: 0.6491 MB / 2.744 GB, free: 144.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001461/6.009, allocations: 1.266 MB / 2.745 GB, free: 143.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/6.01, allocations: 0.791 MB / 2.746 GB, free: 143.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/6.01, allocations: 5 kB / 2.746 GB, free: 143.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.01277/6.023, allocations: 2.893 MB / 2.749 GB, free: 143.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001012/6.024, allocations: 5.027 MB / 2.754 GB, free: 138 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.552e-05/6.024, allocations: 17.88 kB / 2.754 GB, free: 138 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002619/6.027, allocations: 0.8216 MB / 2.755 GB, free: 138 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002948/6.03, allocations: 0.489 MB / 2.755 GB, free: 138 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001891/6.032, allocations: 1.802 MB / 2.757 GB, free: 136.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005933/6.038, allocations: 0.5238 MB / 2.757 GB, free: 136.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004528/6.038, allocations: 107.9 kB / 2.757 GB, free: 136.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/6.038, allocations: 3.188 kB / 2.757 GB, free: 136.8 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01199/6.05, allocations: 2.622 MB / 2.76 GB, free: 136.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.973e-05/6.05, allocations: 11.81 kB / 2.76 GB, free: 136.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002388/6.053, allocations: 0.8251 MB / 2.761 GB, free: 136.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002865/6.056, allocations: 481.8 kB / 2.761 GB, free: 136.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00188/6.058, allocations: 1.808 MB / 2.763 GB, free: 135.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005212/6.063, allocations: 455.5 kB / 2.764 GB, free: 135.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004348/6.063, allocations: 113.1 kB / 2.764 GB, free: 135.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,heaPum.stage,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 167 * 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 {2 19,2 19} Notification: Performance of prepare postOptimizeDAE: time 0.0006944/6.064, allocations: 219.1 kB / 2.764 GB, free: 135.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009863/6.065, allocations: 275.5 kB / 2.764 GB, free: 135.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01202/6.077, allocations: 2.309 MB / 2.766 GB, free: 135.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.393e-05/6.077, allocations: 16.11 kB / 2.766 GB, free: 135.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.388e-05/6.077, allocations: 6.344 kB / 2.766 GB, free: 135.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01093/6.088, allocations: 2.072 MB / 2.768 GB, free: 134.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01719/6.105, allocations: 7.025 MB / 2.775 GB, free: 132.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.812e-05/6.105, allocations: 8.984 kB / 2.775 GB, free: 132.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001787/6.107, allocations: 288.7 kB / 2.776 GB, free: 132.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00235/6.109, allocations: 0.8077 MB / 2.776 GB, free: 132.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000274/6.11, allocations: 56.86 kB / 2.776 GB, free: 132.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001707/6.111, allocations: 1.794 MB / 2.778 GB, free: 131.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/6.111, allocations: 12.59 kB / 2.778 GB, free: 131.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005181/6.117, allocations: 3.4 MB / 2.781 GB, free: 130.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002477/6.119, allocations: 0.6668 MB / 2.782 GB, free: 130.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001083/6.12, allocations: 48.44 kB / 2.782 GB, free: 130.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003951/6.124, allocations: 294.6 kB / 2.782 GB, free: 130.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002695/6.125, allocations: 113.5 kB / 2.783 GB, free: 130.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002182/6.125, allocations: 70.38 kB / 2.783 GB, free: 130.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003499/6.128, allocations: 1.745 MB / 2.784 GB, free: 129.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.71e-07/6.128, allocations: 0 / 2.784 GB, free: 129.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.007903/6.136, allocations: 1.861 MB / 2.786 GB, free: 129.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum.stage,heaPum1.com.isOn,N.T_start,N.count) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * 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 19,2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.008396/6.145, allocations: 6.935 MB / 2.793 GB, free: 125.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005275/6.15, allocations: 2.801 MB / 2.796 GB, free: 125.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.471e-05/6.15, allocations: 4.438 kB / 2.796 GB, free: 125.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001514/6.152, allocations: 0.8019 MB / 2.796 GB, free: 125.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007435/6.159, allocations: 1.39 MB / 2.798 GB, free: 125.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01275/6.172, allocations: 4.467 MB / 2.802 GB, free: 124.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001115/6.173, allocations: 1.772 MB / 2.804 GB, free: 123.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00441/6.177, allocations: 0.8615 MB / 2.805 GB, free: 123.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001398/6.179, allocations: 1.112 MB / 2.806 GB, free: 123.6 MB / 1.167 GB Notification: Performance of SimCode: time 8.62e-07/6.179, allocations: 0 / 2.806 GB, free: 123.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1629/6.342, allocations: 106.1 MB / 2.909 GB, free: 118.4 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001618/6.342, allocations: 237.9 kB / 2.91 GB, free: 118.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.078/12.42, allocations: 0 / 2.91 GB, free: 118.1 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor_res.mat does not exist to compare? outputFormat=mat