Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",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.001349/0.001349, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001412/0.001412, allocations: 199.2 kB / 16.14 MB, free: 6.715 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.226/1.226, allocations: 205.1 MB / 222 MB, free: 4.773 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.541/1.541, allocations: 292.3 MB / 0.5484 GB, free: 13.64 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.002411/0.002411, allocations: 70.91 kB / 0.6709 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.173, allocations: 114.5 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001805/0.1748, allocations: 1.051 MB / 0.7838 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001285/0.1761, allocations: 1.312 MB / 0.7851 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.77e-05/0.1762, allocations: 0 / 0.7851 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.852e-05/0.1763, allocations: 11.88 kB / 0.7851 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.163e-05/0.1763, allocations: 27.78 kB / 0.7851 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005093/0.1769, allocations: 231 kB / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002243/0.1771, allocations: 295.3 kB / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.1772, allocations: 49.53 kB / 0.7857 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.1773, allocations: 103.7 kB / 0.7858 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.1775, allocations: 91.62 kB / 0.7859 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.878e-05/0.1775, allocations: 19.94 kB / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.1776, allocations: 27.98 kB / 0.7859 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.167e-05/0.1777, allocations: 35.84 kB / 0.786 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.1778, allocations: 103.5 kB / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000255/0.178, allocations: 315.3 kB / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1781, allocations: 0 / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.41e-07/0.1781, allocations: 4 kB / 0.7864 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.467e-06/0.1781, allocations: 0 / 0.7864 GB, free: 10.22 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007274/0.1788, allocations: 0.5605 MB / 0.7869 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.1788, allocations: 8.031 kB / 0.7869 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.587e-05/0.1789, allocations: 46.73 kB / 0.787 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.241e-05/0.1789, allocations: 28.66 kB / 0.787 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.1792, allocations: 252.5 kB / 0.7872 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.1792, allocations: 16.38 kB / 0.7872 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.406e-05/0.1793, allocations: 16.38 kB / 0.7873 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003508/0.1796, allocations: 170.4 kB / 0.7874 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.1796, allocations: 7.875 kB / 0.7874 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.1796, allocations: 8 kB / 0.7874 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1796, allocations: 0 / 0.7874 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004208/0.1801, allocations: 135.8 kB / 0.7876 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008723/0.181, allocations: 0.876 MB / 0.7884 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002814/0.1812, allocations: 161 kB / 0.7886 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002219/0.1815, allocations: 96.22 kB / 0.7887 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.1815, allocations: 8 kB / 0.7887 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003266/0.1818, allocations: 179.4 kB / 0.7888 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 2.695e-06/0.1818, allocations: 4 kB / 0.7889 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0008056/0.1827, allocations: 289.4 kB / 0.7891 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.35e-05/0.1827, allocations: 166.2 kB / 0.7893 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.1829, allocations: 199 kB / 0.7895 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/0.1829, allocations: 33.7 kB / 0.7895 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.925e-05/0.183, allocations: 132.2 kB / 0.7896 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.907e-05/0.183, allocations: 31.62 kB / 0.7897 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.819e-05/0.1831, allocations: 49.69 kB / 0.7897 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.044e-05/0.1832, allocations: 334.8 kB / 0.79 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003127/0.1836, allocations: 111.9 kB / 0.7901 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003356/0.1839, allocations: 187.5 kB / 0.7903 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005305/0.1844, allocations: 294.9 kB / 0.7906 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1845, allocations: 0 / 0.7906 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000807/0.1853, allocations: 404.5 kB / 0.791 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.482e-05/0.1853, allocations: 71.39 kB / 0.7911 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1853, allocations: 3.938 kB / 0.7911 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.1853, allocations: 7.938 kB / 0.7911 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.1855, allocations: 36.19 kB / 0.7911 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1855, allocations: 0 / 0.7911 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003875/0.1859, allocations: 67.91 kB / 0.7912 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.253e-05/0.1859, allocations: 19.98 kB / 0.7912 GB, free: 4.816 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 2 * 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 0.000106/0.1861, allocations: 145.7 kB / 0.7913 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.778e-05/0.1861, allocations: 19.81 kB / 0.7913 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.961e-05/0.1861, allocations: 12.94 kB / 0.7914 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.1862, allocations: 7.938 kB / 0.7914 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1862, allocations: 0 / 0.7914 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1862, allocations: 3.984 kB / 0.7914 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.1864, allocations: 249.5 kB / 0.7916 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.1864, allocations: 4 kB / 0.7916 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.1865, allocations: 27.97 kB / 0.7916 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.1865, allocations: 8 kB / 0.7916 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.1865, allocations: 0 / 0.7916 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/0.1865, allocations: 11.88 kB / 0.7917 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1865, allocations: 0 / 0.7917 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004992/0.187, allocations: 260.6 kB / 0.7919 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.229e-05/0.1871, allocations: 88.92 kB / 0.792 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.1871, allocations: 4 kB / 0.792 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.1873, allocations: 23.91 kB / 0.792 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.1873, allocations: 31.84 kB / 0.792 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.1873, allocations: 7.984 kB / 0.792 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001017/0.1874, allocations: 148.4 kB / 0.7922 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1874, allocations: 0 / 0.7922 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002503/0.1877, allocations: 47.94 kB / 0.7922 GB, free: 3.629 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007493/0.1884, allocations: 0.799 MB / 0.793 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006747/0.1891, allocations: 370.5 kB / 0.7934 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1891, allocations: 448 / 0.7934 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002599/0.1894, allocations: 91.86 kB / 0.7935 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.1897, allocations: 48.86 kB / 0.7935 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003194/0.1929, allocations: 2.579 MB / 0.796 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.1932, allocations: 0.7357 MB / 0.7967 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 7.272e-05/0.1932, allocations: 21.41 kB / 0.7968 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.08e-05/0.1933, allocations: 51.41 kB / 0.7968 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of SimCode: time 1.333e-06/0.1933, allocations: 0 / 0.7968 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2211/0.4144, allocations: 4.558 MB / 0.8013 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002124/0.4147, allocations: 219.1 kB / 0.8015 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.757/2.172, allocations: 0.5 kB / 0.8015 GB, free: 10.03 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1)