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.8378/0.8378, allocations: 143.3 MB / 158.3 MB, free: 5.773 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.001686/0.001686, allocations: 179.8 kB / 191.5 MB, free: 5.758 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.532/1.532, allocations: 223.2 MB / 447.7 MB, free: 4.867 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.0009301/0.0009301, allocations: 92.38 kB / 0.5187 GB, free: 1.223 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001801/0.001801, allocations: 267.4 kB / 0.6005 GB, free: 48.79 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004202/0.0004203, allocations: 13.81 kB / 0.6929 GB, free: 59.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1692, allocations: 82.8 MB / 0.7738 GB, free: 13.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.106/1.275, allocations: 394.4 MB / 1.159 GB, free: 267.1 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/1.276, allocations: 96.16 kB / 1.159 GB, free: 267.1 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.393/2.668, allocations: 0.5597 GB / 1.719 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.392e-06/2.668, allocations: 0 / 1.719 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001441/2.669, allocations: 39.98 kB / 1.719 GB, free: 7.902 MB / 0.7136 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.004712/2.673, allocations: 2.111 MB / 1.721 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/2.673, allocations: 12.02 kB / 1.721 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003012/2.674, allocations: 185.4 kB / 1.721 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005017/2.679, allocations: 0.6613 MB / 1.722 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004188/2.683, allocations: 1.782 MB / 1.723 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001356/2.683, allocations: 132 kB / 1.724 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002543/2.683, allocations: 120 kB / 1.724 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00373/2.687, allocations: 1.631 MB / 1.725 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.235e-05/2.687, allocations: 0 / 1.725 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001387/2.687, allocations: 56 kB / 1.725 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-05/2.687, allocations: 50.11 kB / 1.725 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4504/3.138, allocations: 1.457 MB / 1.727 GB, free: 104.1 MB / 0.7136 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.01181/3.15, allocations: 6.796 MB / 1.733 GB, free: 101.3 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002354/3.152, allocations: 0.6936 MB / 1.734 GB, free: 101.3 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001158/3.153, allocations: 1.267 MB / 1.735 GB, free: 99.88 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/3.153, allocations: 44.22 kB / 1.735 GB, free: 99.84 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=64): time 3.176e-06/3.153, allocations: 0 / 1.735 GB, free: 99.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=64): time 0.03004/3.183, allocations: 3.825 MB / 1.739 GB, free: 99.62 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/3.183, allocations: 109.1 kB / 1.739 GB, free: 99.5 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002468/3.186, allocations: 1.261 MB / 1.74 GB, free: 99.35 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003329/3.186, allocations: 44.48 kB / 1.74 GB, free: 99.32 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000634/3.187, allocations: 0.6964 MB / 1.741 GB, free: 99.11 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002996/3.187, allocations: 232 kB / 1.741 GB, free: 98.99 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.836e-05/3.187, allocations: 14.97 kB / 1.741 GB, free: 98.99 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.987e-05/3.187, allocations: 342.2 kB / 1.742 GB, free: 98.68 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001932/3.189, allocations: 0.4909 MB / 1.742 GB, free: 98.68 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002304/3.192, allocations: 0.7791 MB / 1.743 GB, free: 98.38 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002241/3.194, allocations: 0.5368 MB / 1.743 GB, free: 98.38 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.778e-06/3.194, allocations: 4.094 kB / 1.743 GB, free: 98.38 MB / 0.7136 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01373/3.208, allocations: 2.099 MB / 1.746 GB, free: 98.25 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.00059/3.208, allocations: 2.487 MB / 1.748 GB, free: 95.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.361e-05/3.208, allocations: 7.156 kB / 1.748 GB, free: 95.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001967/3.21, allocations: 494.9 kB / 1.748 GB, free: 95.69 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001671/3.212, allocations: 252.1 kB / 1.749 GB, free: 95.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001571/3.214, allocations: 0.9973 MB / 1.75 GB, free: 95.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003063/3.217, allocations: 277.5 kB / 1.75 GB, free: 95.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002241/3.217, allocations: 60.03 kB / 1.75 GB, free: 95.13 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/3.217, allocations: 4.469 kB / 1.75 GB, free: 95.13 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01281/3.23, allocations: 1.934 MB / 1.752 GB, free: 95.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-05/3.23, allocations: 14 kB / 1.752 GB, free: 95.11 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001896/3.232, allocations: 490.2 kB / 1.752 GB, free: 95.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001694/3.234, allocations: 251.5 kB / 1.753 GB, free: 95.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001694/3.235, allocations: 0.9922 MB / 1.754 GB, free: 94.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002843/3.238, allocations: 241.7 kB / 1.754 GB, free: 94.54 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003074/3.238, allocations: 52.95 kB / 1.754 GB, free: 94.54 MB / 0.7136 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 (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.001472/3.24, allocations: 450.7 kB / 1.754 GB, free: 94.35 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007066/3.241, allocations: 141.8 kB / 1.754 GB, free: 94.28 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005552/3.246, allocations: 1.251 MB / 1.756 GB, free: 94.2 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/3.246, allocations: 10.16 kB / 1.756 GB, free: 94.2 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/3.246, allocations: 0 / 1.756 GB, free: 94.2 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003622/3.25, allocations: 1.127 MB / 1.757 GB, free: 94.02 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008823/3.259, allocations: 3.011 MB / 1.76 GB, free: 93.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.237e-05/3.259, allocations: 3.281 kB / 1.76 GB, free: 93.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/3.26, allocations: 150.5 kB / 1.76 GB, free: 93.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001578/3.261, allocations: 480.6 kB / 1.76 GB, free: 93.52 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001107/3.262, allocations: 32.52 kB / 1.76 GB, free: 93.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00154/3.263, allocations: 0.9951 MB / 1.761 GB, free: 92.99 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/3.263, allocations: 3.625 kB / 1.761 GB, free: 92.99 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00625/3.269, allocations: 2.171 MB / 1.763 GB, free: 92.23 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001327/3.271, allocations: 395.3 kB / 1.764 GB, free: 92.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005998/3.271, allocations: 25.2 kB / 1.764 GB, free: 92.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00234/3.274, allocations: 139.1 kB / 1.764 GB, free: 92.05 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/3.274, allocations: 54.25 kB / 1.764 GB, free: 92.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001898/3.274, allocations: 49.12 kB / 1.764 GB, free: 92.05 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002275/3.276, allocations: 1.007 MB / 1.765 GB, free: 91.94 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.01e-07/3.276, allocations: 3.562 kB / 1.765 GB, free: 91.94 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.005058/3.282, allocations: 0.9841 MB / 1.766 GB, free: 91.9 MB / 0.7136 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) * Number of clocked states: 0 () * 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.009144/3.291, allocations: 4.531 MB / 1.77 GB, free: 89.65 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.006541/3.297, allocations: 1.775 MB / 1.772 GB, free: 89.63 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.237e-05/3.297, allocations: 3.812 kB / 1.772 GB, free: 89.63 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001883/3.299, allocations: 0.5186 MB / 1.773 GB, free: 89.62 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004235/3.303, allocations: 0.7861 MB / 1.773 GB, free: 89.61 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02907/3.333, allocations: 13.62 MB / 1.787 GB, free: 82.47 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/3.334, allocations: 1.237 MB / 1.788 GB, free: 81.76 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002534/3.336, allocations: 381.9 kB / 1.788 GB, free: 81.74 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001287/3.338, allocations: 0.5812 MB / 1.789 GB, free: 81.73 MB / 0.7136 GB Notification: Performance of SimCode: time 1.192e-06/3.338, allocations: 0 / 1.789 GB, free: 81.73 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08537/3.423, allocations: 55.03 MB / 1.843 GB, free: 79.15 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001785/3.423, allocations: 282.8 kB / 1.843 GB, free: 78.79 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.951/7.374, allocations: 2.344 kB / 1.843 GB, free: 78.79 MB / 0.7136 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)