Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8358/0.8358, allocations: 141.8 MB / 149.3 MB, free: 9.203 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 192.6 kB / 182.2 MB, free: 9.418 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.618/1.618, allocations: 221.5 MB / 436.4 MB, free: 13.36 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008893/0.0008892, allocations: 93.91 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00178/0.00178, allocations: 275.8 kB / 0.5889 GB, free: 54.69 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.578e-05/2.579e-05, allocations: 4 kB / 0.6766 GB, free: 12.77 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5095/0.5096, allocations: 82.77 MB / 0.7575 GB, free: 31.95 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9465/1.456, allocations: 393.7 MB / 1.142 GB, free: 3.695 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/1.456, allocations: 87.95 kB / 1.142 GB, free: 3.652 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.115/3.571, allocations: 0.5552 GB / 1.697 GB, free: 19.51 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.515e-06/3.572, allocations: 0 / 1.697 GB, free: 19.51 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001862/3.572, allocations: 43.98 kB / 1.697 GB, free: 19.46 MB / 0.698 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.004298/3.576, allocations: 1.839 MB / 1.699 GB, free: 17.56 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/3.576, allocations: 8.031 kB / 1.699 GB, free: 17.55 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004538/3.581, allocations: 0.6652 MB / 1.7 GB, free: 16.89 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003334/3.584, allocations: 1.778 MB / 1.702 GB, free: 15.05 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.76e-05/3.584, allocations: 87.98 kB / 1.702 GB, free: 14.96 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000161/3.584, allocations: 68 kB / 1.702 GB, free: 14.89 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001738/3.586, allocations: 1.032 MB / 1.703 GB, free: 13.86 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001856/3.588, allocations: 1.287 MB / 1.704 GB, free: 12.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.357e-05/3.588, allocations: 11.84 kB / 1.704 GB, free: 12.46 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/3.588, allocations: 8 kB / 1.704 GB, free: 12.46 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.795e-05/3.588, allocations: 50.17 kB / 1.704 GB, free: 12.41 MB / 0.698 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.008851/3.597, allocations: 6.525 MB / 1.71 GB, free: 5.605 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007615/3.598, allocations: 0.5256 MB / 1.711 GB, free: 5.074 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004015/3.598, allocations: 326.4 kB / 1.711 GB, free: 4.754 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001095/3.599, allocations: 1.267 MB / 1.712 GB, free: 3.211 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/3.599, allocations: 47.12 kB / 1.712 GB, free: 3.156 MB / 0.698 GB Notification: Performance of pre-optimization done (n=64): time 2.574e-06/3.599, allocations: 0 / 1.712 GB, free: 3.156 MB / 0.698 GB Notification: Performance of matching and sorting (n=64): time 0.01052/3.61, allocations: 1.509 MB / 1.714 GB, free: 1.633 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/3.61, allocations: 111.4 kB / 1.714 GB, free: 1.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001554/3.611, allocations: 0.9667 MB / 1.715 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002766/3.612, allocations: 29.7 kB / 1.715 GB, free: 500 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.5504/4.162, allocations: 0.7128 MB / 1.716 GB, free: 104.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004669/4.163, allocations: 220.4 kB / 1.716 GB, free: 104.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.102e-05/4.163, allocations: 2.844 kB / 1.716 GB, free: 104.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001079/4.163, allocations: 337 kB / 1.716 GB, free: 103.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006658/4.164, allocations: 314.1 kB / 1.717 GB, free: 103.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008808/4.164, allocations: 0.5838 MB / 1.717 GB, free: 103.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002521/4.167, allocations: 0.4995 MB / 1.718 GB, free: 103.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.797e-06/4.167, allocations: 2.047 kB / 1.718 GB, free: 103.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01212/4.179, allocations: 1.757 MB / 1.719 GB, free: 103.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006797/4.18, allocations: 2.46 MB / 1.722 GB, free: 100.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/4.18, allocations: 6.188 kB / 1.722 GB, free: 100.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/4.181, allocations: 361.8 kB / 1.722 GB, free: 100.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001779/4.183, allocations: 252.2 kB / 1.722 GB, free: 100.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001694/4.184, allocations: 0.9513 MB / 1.723 GB, free: 100.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003224/4.188, allocations: 231.1 kB / 1.723 GB, free: 100.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002394/4.188, allocations: 59.11 kB / 1.724 GB, free: 100.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/4.188, allocations: 3.625 kB / 1.724 GB, free: 100.2 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01081/4.199, allocations: 1.608 MB / 1.725 GB, free: 100.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.107e-05/4.199, allocations: 3.969 kB / 1.725 GB, free: 100.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007711/4.2, allocations: 367.7 kB / 1.725 GB, free: 100.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001425/4.201, allocations: 252.3 kB / 1.726 GB, free: 100.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/4.202, allocations: 0.9562 MB / 1.727 GB, free: 99.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002421/4.205, allocations: 191.4 kB / 1.727 GB, free: 99.65 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/4.205, allocations: 55.98 kB / 1.727 GB, free: 99.65 MB / 0.698 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 85 * 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 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.0004038/4.205, allocations: 132.1 kB / 1.727 GB, free: 99.54 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01028/4.216, allocations: 1.501 MB / 1.728 GB, free: 99.43 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008189/4.216, allocations: 133.6 kB / 1.729 GB, free: 99.37 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003314/4.22, allocations: 0.9882 MB / 1.73 GB, free: 99.29 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/4.22, allocations: 7.875 kB / 1.73 GB, free: 99.29 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/4.22, allocations: 3.953 kB / 1.73 GB, free: 99.29 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002231/4.222, allocations: 0.8976 MB / 1.73 GB, free: 99.12 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006819/4.229, allocations: 2.587 MB / 1.733 GB, free: 98.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/4.229, allocations: 10 kB / 1.733 GB, free: 98.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009339/4.23, allocations: 150.4 kB / 1.733 GB, free: 98.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007011/4.231, allocations: 362.3 kB / 1.733 GB, free: 98.67 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.777e-05/4.231, allocations: 15.52 kB / 1.733 GB, free: 98.67 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001065/4.232, allocations: 0.9539 MB / 1.734 GB, free: 98.14 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-06/4.232, allocations: 6.5 kB / 1.734 GB, free: 98.14 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003512/4.235, allocations: 1.726 MB / 1.736 GB, free: 97.53 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009067/4.236, allocations: 375.9 kB / 1.736 GB, free: 97.37 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001969/4.236, allocations: 10.06 kB / 1.736 GB, free: 97.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001664/4.238, allocations: 127.4 kB / 1.737 GB, free: 97.37 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/4.238, allocations: 56.27 kB / 1.737 GB, free: 97.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.899e-05/4.238, allocations: 45.81 kB / 1.737 GB, free: 97.36 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001148/4.239, allocations: 0.7387 MB / 1.737 GB, free: 97.25 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.2e-07/4.239, allocations: 0 / 1.737 GB, free: 97.25 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003259/4.243, allocations: 0.9794 MB / 1.738 GB, free: 97.2 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 43 * 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 {2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.0057/4.248, allocations: 4.137 MB / 1.742 GB, free: 94.94 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002911/4.251, allocations: 1.261 MB / 1.744 GB, free: 94.92 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/4.251, allocations: 5.531 kB / 1.744 GB, free: 94.92 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006667/4.252, allocations: 368.7 kB / 1.744 GB, free: 94.92 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003188/4.255, allocations: 0.5841 MB / 1.745 GB, free: 94.91 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006016/4.261, allocations: 2.25 MB / 1.747 GB, free: 94.23 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007031/4.262, allocations: 1.236 MB / 1.748 GB, free: 93.51 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002165/4.264, allocations: 398.5 kB / 1.748 GB, free: 93.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007064/4.265, allocations: 0.5417 MB / 1.749 GB, free: 93.49 MB / 0.698 GB Notification: Performance of SimCode: time 1.182e-06/4.265, allocations: 0 / 1.749 GB, free: 93.49 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08518/4.35, allocations: 45.79 MB / 1.794 GB, free: 91.61 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001804/4.35, allocations: 196.7 kB / 1.794 GB, free: 91.35 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.561/7.912, allocations: 5.25 kB / 1.794 GB, free: 91.35 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)