Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 107.4 kB / 15.34 MB, free: 0.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 192.2 kB / 16.25 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.277/1.277, allocations: 205.1 MB / 222.1 MB, free: 4.688 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.528/1.528, allocations: 292.3 MB / 0.5486 GB, free: 13.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 71.66 kB / 0.6711 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.1792, allocations: 114.6 MB / 0.783 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector): time 0.002508/0.1818, allocations: 1.796 MB / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008907/0.1827, allocations: 0.7458 MB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.185e-05/0.1827, allocations: 4 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.641e-05/0.1828, allocations: 7.922 kB / 0.7855 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6e-05/0.1828, allocations: 19.84 kB / 0.7855 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003151/0.1832, allocations: 75.88 kB / 0.7856 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.1833, allocations: 107.6 kB / 0.7857 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.706e-05/0.1834, allocations: 45.31 kB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.54e-05/0.1834, allocations: 47.78 kB / 0.7858 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.693e-05/0.1835, allocations: 51.77 kB / 0.7858 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.1835, allocations: 12 kB / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.1837, allocations: 103.9 kB / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.1837, allocations: 19.92 kB / 0.7859 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.378e-05/0.1838, allocations: 51.73 kB / 0.786 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.184, allocations: 151.6 kB / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.184, allocations: 3.984 kB / 0.7861 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.342e-06/0.184, allocations: 3.938 kB / 0.7861 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.184, allocations: 0 / 0.7861 GB, free: 10.51 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0005127/0.1845, allocations: 437.4 kB / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.1845, allocations: 16.03 kB / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.769e-05/0.1846, allocations: 42.73 kB / 0.7866 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.636e-05/0.1846, allocations: 12.78 kB / 0.7866 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.587e-05/0.1847, allocations: 180.2 kB / 0.7868 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.1847, allocations: 4.375 kB / 0.7868 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.1847, allocations: 15.94 kB / 0.7868 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002734/0.185, allocations: 124.3 kB / 0.7869 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.185, allocations: 0 / 0.7869 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.1851, allocations: 4 kB / 0.7869 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.1851, allocations: 4 kB / 0.787 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003333/0.1854, allocations: 115.8 kB / 0.7871 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004328/0.1858, allocations: 396.2 kB / 0.7874 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002618/0.1861, allocations: 106.5 kB / 0.7875 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001644/0.1863, allocations: 64.86 kB / 0.7876 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000414/0.1867, allocations: 0.5622 MB / 0.7882 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.1867, allocations: 38.56 kB / 0.7882 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.032e-06/0.1867, allocations: 3.938 kB / 0.7882 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0005292/0.1873, allocations: 181.4 kB / 0.7884 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.448e-05/0.1873, allocations: 55.34 kB / 0.7884 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.1874, allocations: 171.3 kB / 0.7886 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.1874, allocations: 25.7 kB / 0.7886 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.136e-05/0.1875, allocations: 100.1 kB / 0.7887 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.1876, allocations: 27.56 kB / 0.7887 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-05/0.1876, allocations: 25.7 kB / 0.7888 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.802e-05/0.1877, allocations: 322.8 kB / 0.7891 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.1879, allocations: 43.97 kB / 0.7891 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.188, allocations: 43.95 kB / 0.7891 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002735/0.1883, allocations: 109.2 kB / 0.7892 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1883, allocations: 0 / 0.7892 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003289/0.1886, allocations: 145.4 kB / 0.7894 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.859e-06/0.1886, allocations: 4 kB / 0.7894 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.1886, allocations: 3.984 kB / 0.7894 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.386e-06/0.1887, allocations: 0 / 0.7894 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.1888, allocations: 27.92 kB / 0.7894 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.1888, allocations: 0 / 0.7894 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.309e-05/0.1889, allocations: 23.83 kB / 0.7894 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.936e-06/0.1889, allocations: 12 kB / 0.7895 GB, free: 6.762 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.014e-05/0.189, allocations: 117.8 kB / 0.7896 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.126e-05/0.189, allocations: 15.75 kB / 0.7896 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004355/0.1895, allocations: 150.9 kB / 0.7897 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1895, allocations: 8 kB / 0.7897 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.1895, allocations: 0 / 0.7897 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.1895, allocations: 0 / 0.7897 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.1897, allocations: 209.5 kB / 0.7899 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1897, allocations: 0 / 0.7899 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.1898, allocations: 31.95 kB / 0.79 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1898, allocations: 0 / 0.79 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.1898, allocations: 4 kB / 0.79 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.1898, allocations: 3.938 kB / 0.79 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1898, allocations: 0 / 0.79 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003574/0.1902, allocations: 247.4 kB / 0.7902 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.288e-05/0.1903, allocations: 100.8 kB / 0.7903 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.1903, allocations: 0 / 0.7903 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.1904, allocations: 11.98 kB / 0.7903 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.1905, allocations: 15.98 kB / 0.7903 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.1905, allocations: 0 / 0.7903 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.04e-05/0.1905, allocations: 120 kB / 0.7904 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1906, allocations: 0 / 0.7904 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002205/0.1908, allocations: 28 kB / 0.7905 GB, free: 5.617 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006249/0.1914, allocations: 0.7825 MB / 0.7912 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003328/0.1917, allocations: 107.9 kB / 0.7913 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.1918, allocations: 0 / 0.7913 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.1919, allocations: 63.89 kB / 0.7914 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.1923, allocations: 36.45 kB / 0.7914 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001884/0.1941, allocations: 1.795 MB / 0.7932 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002199/0.1944, allocations: 0.6963 MB / 0.7939 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.1e-05/0.1944, allocations: 16.55 kB / 0.7939 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.403e-05/0.1945, allocations: 31.42 kB / 0.7939 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.1945, allocations: 0 / 0.7939 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.706/1.901, allocations: 2.907 MB / 0.7968 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002196/1.901, allocations: 225 kB / 0.797 GB, free: 15 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.866/3.766, allocations: 0 / 0.797 GB, free: 15 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe 2>&1)