Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.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_Dynamic,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic",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.3/2.3, allocations: 387.1 MB / 399.7 MB, free: 9.406 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.001057/0.001057, allocations: 176 kB / 492.3 MB, free: 0.5938 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.585/1.585, allocations: 221.3 MB / 0.7871 GB, free: 12.85 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.001021/0.001021, allocations: 94.08 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.357e-05/3.359e-05, allocations: 4 kB / 1.073 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3183, allocations: 142.3 MB / 1.212 GB, free: 38.38 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.293/1.612, allocations: 436.9 MB / 1.639 GB, free: 9.602 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/1.612, allocations: 94.62 kB / 1.639 GB, free: 9.555 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.374/5.986, allocations: 1.067 GB / 2.706 GB, free: 160.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.753e-06/5.986, allocations: 0 / 2.706 GB, free: 160.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004868/5.987, allocations: 85.58 kB / 2.706 GB, free: 160.1 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.009844/5.997, allocations: 3.19 MB / 2.709 GB, free: 159 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/5.997, allocations: 12.12 kB / 2.709 GB, free: 159 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001105/5.998, allocations: 322.8 kB / 2.709 GB, free: 158.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01038/6.008, allocations: 1.324 MB / 2.711 GB, free: 158.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008644/6.017, allocations: 3.299 MB / 2.714 GB, free: 158.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004404/6.018, allocations: 261.7 kB / 2.714 GB, free: 158.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001005/6.019, allocations: 240.5 kB / 2.714 GB, free: 158.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008009/6.027, allocations: 2.827 MB / 2.717 GB, free: 157.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001382/6.027, allocations: 7.969 kB / 2.717 GB, free: 157.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000846/6.028, allocations: 104 kB / 2.717 GB, free: 157.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001072/6.028, allocations: 69.44 kB / 2.717 GB, free: 157.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005137/6.033, allocations: 2.165 MB / 2.719 GB, free: 157.7 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.02585/6.059, allocations: 13.52 MB / 2.733 GB, free: 151.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002074/6.061, allocations: 1.225 MB / 2.734 GB, free: 151.7 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001057/6.062, allocations: 0.6381 MB / 2.734 GB, free: 151.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001571/6.064, allocations: 1.775 MB / 2.736 GB, free: 149.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001686/6.065, allocations: 0.9814 MB / 2.737 GB, free: 149.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=118): time 8.696e-06/6.065, allocations: 0 / 2.737 GB, free: 149.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=122): time 0.02296/6.088, allocations: 10.11 MB / 2.747 GB, free: 143.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002429/6.089, allocations: 0.9379 MB / 2.748 GB, free: 142.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006074/6.095, allocations: 2.341 MB / 2.75 GB, free: 142 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0005953/6.095, allocations: 58.58 kB / 2.75 GB, free: 141.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001495/6.097, allocations: 1.352 MB / 2.752 GB, free: 141.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006599/6.098, allocations: 428.6 kB / 2.752 GB, free: 141.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000214/6.098, allocations: 33.19 kB / 2.752 GB, free: 141.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.00013/6.098, allocations: 365.3 kB / 2.752 GB, free: 140.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001314/6.099, allocations: 0.6353 MB / 2.753 GB, free: 140.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001647/6.101, allocations: 1.262 MB / 2.754 GB, free: 140.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/6.102, allocations: 0.7722 MB / 2.755 GB, free: 140.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.315e-05/6.102, allocations: 3.938 kB / 2.755 GB, free: 140.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.00474/6.107, allocations: 2.378 MB / 2.757 GB, free: 139.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001029/6.108, allocations: 5.252 MB / 2.762 GB, free: 134.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.647e-05/6.108, allocations: 18.05 kB / 2.763 GB, free: 134.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003068/6.111, allocations: 1.062 MB / 2.764 GB, free: 134.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00244/6.114, allocations: 450.5 kB / 2.764 GB, free: 134.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002352/6.116, allocations: 2.189 MB / 2.766 GB, free: 133.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00535/6.121, allocations: 446.2 kB / 2.767 GB, free: 133.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003737/6.122, allocations: 107.7 kB / 2.767 GB, free: 133.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/6.122, allocations: 3.312 kB / 2.767 GB, free: 133.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003843/6.126, allocations: 2.095 MB / 2.769 GB, free: 133.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.731e-05/6.126, allocations: 10.53 kB / 2.769 GB, free: 133.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00291/6.129, allocations: 1.054 MB / 2.77 GB, free: 133.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002381/6.131, allocations: 439.3 kB / 2.77 GB, free: 133.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002375/6.134, allocations: 2.195 MB / 2.772 GB, free: 132.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004896/6.138, allocations: 379.2 kB / 2.773 GB, free: 132.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003757/6.139, allocations: 108.5 kB / 2.773 GB, free: 132.1 MB / 1.167 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,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 (148): * Single equations (assignments): 145 * 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 {5 24,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.0007473/6.14, allocations: 217.1 kB / 2.773 GB, free: 132 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000881/6.14, allocations: 286 kB / 2.773 GB, free: 131.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005512/6.146, allocations: 1.765 MB / 2.775 GB, free: 131.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.748e-05/6.146, allocations: 26.45 kB / 2.775 GB, free: 131.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.417e-05/6.146, allocations: 3.812 kB / 2.775 GB, free: 131.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003996/6.15, allocations: 1.528 MB / 2.776 GB, free: 131.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01214/6.162, allocations: 6.439 MB / 2.783 GB, free: 129.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.402e-05/6.162, allocations: 17.27 kB / 2.783 GB, free: 129.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001728/6.164, allocations: 268.5 kB / 2.783 GB, free: 129.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002699/6.167, allocations: 0.8844 MB / 2.784 GB, free: 129.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002514/6.167, allocations: 52.78 kB / 2.784 GB, free: 129.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002094/6.169, allocations: 1.978 MB / 2.786 GB, free: 128.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.715e-06/6.169, allocations: 8.875 kB / 2.786 GB, free: 128.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006794/6.176, allocations: 3.429 MB / 2.789 GB, free: 127 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002555/6.179, allocations: 0.6559 MB / 2.79 GB, free: 126.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001188/6.18, allocations: 35.91 kB / 2.79 GB, free: 126.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004349/6.184, allocations: 301.4 kB / 2.79 GB, free: 126.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002607/6.184, allocations: 106.4 kB / 2.79 GB, free: 126.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002235/6.185, allocations: 76.16 kB / 2.79 GB, free: 126.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003821/6.189, allocations: 1.819 MB / 2.792 GB, free: 126.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 5.41e-07/6.189, allocations: 0 / 2.792 GB, free: 126.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.007705/6.196, allocations: 1.648 MB / 2.794 GB, free: 126.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (heaPum1.port_b1.h_outflow,heaPum1.port_b2.h_outflow) * 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 (76): * Single equations (assignments): 70 * 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,4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.01132/6.208, allocations: 6.848 MB / 2.8 GB, free: 122.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.006251/6.214, allocations: 2.85 MB / 2.803 GB, free: 122.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.12e-05/6.214, allocations: 7.094 kB / 2.803 GB, free: 122.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001797/6.216, allocations: 0.8103 MB / 2.804 GB, free: 122.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008531/6.224, allocations: 1.483 MB / 2.805 GB, free: 122.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01631/6.241, allocations: 4.354 MB / 2.81 GB, free: 121.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002141/6.243, allocations: 1.778 MB / 2.811 GB, free: 120.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.005672/6.249, allocations: 0.8394 MB / 2.812 GB, free: 120.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001824/6.25, allocations: 1.129 MB / 2.813 GB, free: 120.6 MB / 1.167 GB Notification: Performance of SimCode: time 1.593e-06/6.25, allocations: 0 / 2.813 GB, free: 120.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1691/6.42, allocations: 110.5 MB / 2.921 GB, free: 115.4 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001707/6.42, allocations: 236.5 kB / 2.921 GB, free: 115 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.381/12.8, allocations: 0 / 2.921 GB, free: 115 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic_res.mat does not exist to compare? outputFormat=mat