Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.SimpleHouse.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.Examples.SimpleHouse,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_SimpleHouse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.SimpleHouse,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_SimpleHouse",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.8662/0.8662, allocations: 143.3 MB / 158.3 MB, free: 5.781 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.001266/0.001266, allocations: 177.1 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.641/1.641, allocations: 223.2 MB / 447.7 MB, free: 4.801 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.0009081/0.0009081, allocations: 96.31 kB / 0.5187 GB, free: 1.156 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001811/0.001811, allocations: 283 kB / 0.6005 GB, free: 48.71 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004685/0.0004685, allocations: 15.19 kB / 0.6929 GB, free: 59.66 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.213, allocations: 82.79 MB / 0.7738 GB, free: 13.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.891/6.104, allocations: 2.201 GB / 2.975 GB, free: 94.18 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/6.105, allocations: 94.77 kB / 2.975 GB, free: 94.13 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 15.9/22.01, allocations: 3.754 GB / 6.728 GB, free: 44.15 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.785e-06/22.01, allocations: 0 / 6.728 GB, free: 44.15 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.001641/22.01, allocations: 180.4 kB / 6.729 GB, free: 44.12 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1201 * Number of variables: 1201 Notification: Performance of Generate backend data structure: time 0.03811/22.05, allocations: 8.223 MB / 6.737 GB, free: 40.54 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 7.641e-05/22.05, allocations: 11.98 kB / 6.737 GB, free: 40.54 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004499/22.05, allocations: 0.6352 MB / 6.737 GB, free: 40.47 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01916/22.07, allocations: 2.617 MB / 6.74 GB, free: 40.06 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03338/22.1, allocations: 7.791 MB / 6.747 GB, free: 39 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009487/22.11, allocations: 375.4 kB / 6.748 GB, free: 38.98 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003418/22.11, allocations: 490.8 kB / 6.748 GB, free: 38.98 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02441/22.13, allocations: 6.004 MB / 6.754 GB, free: 38.18 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003905/22.13, allocations: 11.16 kB / 6.754 GB, free: 38.18 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002496/22.14, allocations: 200.8 kB / 6.754 GB, free: 38.18 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003263/22.14, allocations: 200 kB / 6.755 GB, free: 38.16 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02024/22.16, allocations: 5.475 MB / 6.76 GB, free: 38.07 MB / 0.8386 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.06736/22.22, allocations: 26.78 MB / 6.786 GB, free: 25.5 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01181/22.24, allocations: 4.233 MB / 6.79 GB, free: 25.38 MB / 0.8386 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 evalFunc (simulation): time 0.02855/22.26, allocations: 8.161 MB / 6.798 GB, free: 23.82 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00575/22.27, allocations: 2.171 MB / 6.8 GB, free: 23.68 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005552/22.28, allocations: 478.6 kB / 6.801 GB, free: 23.53 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=299): time 2.524e-05/22.28, allocations: 0 / 6.801 GB, free: 23.53 MB / 0.8386 GB Notification: Performance of matching and sorting (n=299): time 0.02206/22.3, allocations: 6.693 MB / 6.807 GB, free: 22.11 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001672/22.3, allocations: 369.9 kB / 6.808 GB, free: 21.7 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01616/22.31, allocations: 4.709 MB / 6.812 GB, free: 20.36 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.001522/22.32, allocations: 95.2 kB / 6.812 GB, free: 20.29 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.005463/22.32, allocations: 2.973 MB / 6.815 GB, free: 17.98 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.002379/22.32, allocations: 1.019 MB / 6.816 GB, free: 17.2 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001045/22.33, allocations: 75.19 kB / 6.816 GB, free: 17.14 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0004947/22.33, allocations: 458.3 kB / 6.817 GB, free: 16.77 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004731/22.33, allocations: 1.625 MB / 6.818 GB, free: 16.24 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005976/22.34, allocations: 2.854 MB / 6.821 GB, free: 14.21 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005194/22.34, allocations: 2.024 MB / 6.823 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.831e-05/22.34, allocations: 7.719 kB / 6.823 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of matching and sorting (n=470) (initialization): time 0.01524/22.36, allocations: 5.403 MB / 6.828 GB, free: 11.32 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.003802/22.36, allocations: 13.34 MB / 6.841 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.307e-05/22.36, allocations: 28.09 kB / 6.841 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003814/22.36, allocations: 0.702 MB / 6.842 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005372/22.37, allocations: 0.8666 MB / 6.843 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008636/22.38, allocations: 5.828 MB / 6.849 GB, free: 7.633 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009488/22.39, allocations: 0.498 MB / 6.849 GB, free: 7.246 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001449/22.39, allocations: 195.9 kB / 6.849 GB, free: 7.082 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/22.39, allocations: 5.562 kB / 6.849 GB, free: 7.078 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01242/22.4, allocations: 4.841 MB / 6.854 GB, free: 2.898 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-05/22.4, allocations: 26.58 kB / 6.854 GB, free: 2.875 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003556/22.41, allocations: 0.7092 MB / 6.855 GB, free: 2.328 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004524/22.41, allocations: 0.846 MB / 6.856 GB, free: 1.613 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007899/22.42, allocations: 5.851 MB / 6.861 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009024/22.43, allocations: 468 kB / 6.862 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001454/22.43, allocations: 186.3 kB / 6.862 GB, free: 11.32 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 123 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.hysRad.y,hysRad.y,booleanToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (442): * Single equations (assignments): 435 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 2,1 2,2 9,3 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.006806/22.44, allocations: 1.613 MB / 6.864 GB, free: 9.875 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003049/22.44, allocations: 0.5786 MB / 6.864 GB, free: 9.293 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01538/22.45, allocations: 4.836 MB / 6.869 GB, free: 5.277 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-05/22.45, allocations: 28 kB / 6.869 GB, free: 5.25 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/22.45, allocations: 7.938 kB / 6.869 GB, free: 5.246 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009164/22.46, allocations: 3.761 MB / 6.873 GB, free: 1.961 MB / 0.8698 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 postOpt removeSimpleEquations (simulation): time 0.9119/23.38, allocations: 10.1 MB / 6.882 GB, free: 86.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.596e-05/23.38, allocations: 4.281 kB / 6.882 GB, free: 86.09 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004369/23.38, allocations: 0.6141 MB / 6.883 GB, free: 86.09 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002785/23.38, allocations: 487 kB / 6.883 GB, free: 86.02 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009027/23.38, allocations: 96.34 kB / 6.884 GB, free: 86.02 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01105/23.39, allocations: 11.71 MB / 6.895 GB, free: 76.27 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.426e-05/23.39, allocations: 11.41 kB / 6.895 GB, free: 76.27 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01826/23.41, allocations: 7.251 MB / 6.902 GB, free: 75.06 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005259/23.42, allocations: 1.17 MB / 6.903 GB, free: 74.97 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002523/23.42, allocations: 69.53 kB / 6.903 GB, free: 74.97 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006598/23.43, allocations: 412.5 kB / 6.904 GB, free: 74.97 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000703/23.43, allocations: 239.7 kB / 6.904 GB, free: 74.96 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005083/23.43, allocations: 144.3 kB / 6.904 GB, free: 74.96 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.009228/23.44, allocations: 3.674 MB / 6.908 GB, free: 74.75 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.224e-06/23.44, allocations: 0 / 6.908 GB, free: 74.75 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.02178/23.46, allocations: 3.866 MB / 6.911 GB, free: 74.56 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 10 (walCap.T,zone.dynBal.U,zone.dynBal.mXi[1],rad.vol[1].dynBal.U,rad.vol[2].dynBal.U,rad.vol[3].dynBal.U,rad.vol[4].dynBal.U,rad.vol[5].dynBal.U,vavDam.filter.s[1],vavDam.filter.s[2]) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,hysRad.y,booleanToInt.y) * Number of discrete states: 3 (weaDat.conTimMin.tNext,weaDat.conTim.tNext,hysRad.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (310): * Single equations (assignments): 296 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 4 {2 8,1 3,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0318/23.49, allocations: 15.38 MB / 6.926 GB, free: 69.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01917/23.51, allocations: 7.196 MB / 6.933 GB, free: 68.55 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.787e-05/23.51, allocations: 6.125 kB / 6.933 GB, free: 68.55 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.005477/23.52, allocations: 2.766 MB / 6.936 GB, free: 67.75 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01625/23.53, allocations: 2.736 MB / 6.939 GB, free: 67.72 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05032/23.58, allocations: 36.79 MB / 6.975 GB, free: 40.37 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004975/23.59, allocations: 3.789 MB / 6.978 GB, free: 39.51 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.01073/23.6, allocations: 2.049 MB / 6.98 GB, free: 39.46 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006646/23.61, allocations: 2.807 MB / 6.983 GB, free: 39.46 MB / 0.8698 GB Notification: Performance of SimCode: time 1.753e-06/23.61, allocations: 0 / 6.983 GB, free: 39.46 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.249/24.86, allocations: 233.4 MB / 7.211 GB, free: 109.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002027/24.86, allocations: 247.2 kB / 7.211 GB, free: 109.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.37/38.23, allocations: 0 / 7.211 GB, free: 109.1 MB / 0.9167 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.SimpleHouse.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.SimpleHouse.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.SimpleHouse.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.SimpleHouse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_SimpleHouse_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_SimpleHouse.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.SimpleHouse.pipe 2>&1)