Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_maint_8_0_x_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.462/1.462, allocations: 288.4 MB / 303.6 MB, free: 8.094 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009352/0.0009353, allocations: 180.5 kB / 372.3 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.245/1.245, allocations: 205.4 MB / 0.631 GB, free: 9.906 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007539/0.000754, allocations: 112.7 kB / 0.7444 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003502/0.0003503, allocations: 19.56 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1774, allocations: 115.3 MB / 0.9802 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.0008608/0.1783, allocations: 0.6468 MB / 0.9808 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001363/0.1797, allocations: 1.262 MB / 0.9821 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.134e-05/0.1798, allocations: 0 / 0.9821 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.212e-05/0.1799, allocations: 7.875 kB / 0.9821 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.519e-05/0.18, allocations: 27.78 kB / 0.9821 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006004/0.1806, allocations: 220.3 kB / 0.9823 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002415/0.1808, allocations: 263.3 kB / 0.9826 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.181, allocations: 45.53 kB / 0.9826 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.1811, allocations: 99.69 kB / 0.9827 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.1812, allocations: 87.62 kB / 0.9828 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.786e-05/0.1812, allocations: 12 kB / 0.9828 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.5e-05/0.1813, allocations: 28 kB / 0.9828 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.228e-05/0.1814, allocations: 31.84 kB / 0.9828 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.1815, allocations: 117.2 kB / 0.983 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.1817, allocations: 247.6 kB / 0.9832 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.1817, allocations: 0 / 0.9832 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.804e-06/0.1817, allocations: 0 / 0.9832 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.1817, allocations: 0 / 0.9832 GB, free: 24.15 MB / 0.6198 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.000693/0.1824, allocations: 0.5426 MB / 0.9837 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.1824, allocations: 12.03 kB / 0.9837 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.888e-05/0.1825, allocations: 38.75 kB / 0.9838 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.976e-05/0.1826, allocations: 20.75 kB / 0.9838 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.1828, allocations: 259.6 kB / 0.984 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.1828, allocations: 4.375 kB / 0.984 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.475e-05/0.1829, allocations: 20.38 kB / 0.9841 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003715/0.1832, allocations: 186.4 kB / 0.9842 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.1833, allocations: 3.938 kB / 0.9842 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.1833, allocations: 8 kB / 0.9843 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.1833, allocations: 3.938 kB / 0.9843 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004631/0.1838, allocations: 163.8 kB / 0.9844 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008375/0.1846, allocations: 0.8954 MB / 0.9853 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002851/0.1849, allocations: 184.9 kB / 0.9855 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002256/0.1851, allocations: 108.3 kB / 0.9856 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.1852, allocations: 11.92 kB / 0.9856 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003566/0.1855, allocations: 199.5 kB / 0.9858 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.533e-06/0.1855, allocations: 0 / 0.9858 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0008247/0.1864, allocations: 333.4 kB / 0.9861 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.1864, allocations: 162.2 kB / 0.9862 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.1866, allocations: 207.6 kB / 0.9864 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/0.1866, allocations: 33.8 kB / 0.9865 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.205e-05/0.1867, allocations: 136.3 kB / 0.9866 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.1867, allocations: 27.56 kB / 0.9866 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.09e-05/0.1868, allocations: 8 kB / 0.9866 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.197e-05/0.1868, allocations: 326.8 kB / 0.9869 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003315/0.1872, allocations: 131.9 kB / 0.9871 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000354/0.1875, allocations: 193.7 kB / 0.9873 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000548/0.1881, allocations: 330.9 kB / 0.9876 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.1881, allocations: 0 / 0.9876 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007863/0.1889, allocations: 436.5 kB / 0.988 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.167e-05/0.189, allocations: 75.61 kB / 0.9881 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.189, allocations: 4 kB / 0.9881 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.189, allocations: 7.938 kB / 0.9881 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.1892, allocations: 35.91 kB / 0.9881 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.1892, allocations: 4 kB / 0.9881 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004368/0.1896, allocations: 107.8 kB / 0.9882 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.167e-05/0.1897, allocations: 15.98 kB / 0.9882 GB, free: 18.54 MB / 0.6198 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,$PRE.pul.booPul.y,pul.booPul.y,$whenCondition1,$whenCondition2,$PRE.pul1.booPul.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001104/0.1898, allocations: 153.8 kB / 0.9884 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.666e-05/0.1898, allocations: 15.81 kB / 0.9884 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.791e-05/0.1898, allocations: 16.94 kB / 0.9884 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.1899, allocations: 7.938 kB / 0.9884 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.1899, allocations: 3.984 kB / 0.9884 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.1899, allocations: 4 kB / 0.9884 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.19, allocations: 245.5 kB / 0.9887 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.19, allocations: 0 / 0.9887 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.1902, allocations: 35.91 kB / 0.9887 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.1902, allocations: 4 kB / 0.9887 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.1902, allocations: 4 kB / 0.9887 GB, free: 18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.1902, allocations: 11.88 kB / 0.9887 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1902, allocations: 4 kB / 0.9887 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005124/0.1907, allocations: 280.2 kB / 0.989 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.773e-05/0.1908, allocations: 88.92 kB / 0.9891 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.1908, allocations: 11.98 kB / 0.9891 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.1909, allocations: 27.92 kB / 0.9891 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.026e-05/0.191, allocations: 23.91 kB / 0.9891 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.191, allocations: 7.938 kB / 0.9891 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.411e-05/0.1911, allocations: 148.4 kB / 0.9893 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1911, allocations: 0 / 0.9893 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002587/0.1914, allocations: 51.84 kB / 0.9893 GB, free: 17.31 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007075/0.1921, allocations: 0.8263 MB / 0.9901 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006692/0.1928, allocations: 403.1 kB / 0.9905 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1928, allocations: 4 kB / 0.9905 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000264/0.193, allocations: 108.2 kB / 0.9906 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.1934, allocations: 40.16 kB / 0.9907 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/0.1954, allocations: 1.42 MB / 0.992 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001423/0.1956, allocations: 0.7317 MB / 0.9928 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.743e-05/0.1957, allocations: 25.41 kB / 0.9928 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.049e-05/0.1957, allocations: 47.42 kB / 0.9928 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.1958, allocations: 4 kB / 0.9928 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01751/0.2133, allocations: 4.562 MB / 0.9973 GB, free: 9.168 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001639/0.2135, allocations: 215.4 kB / 0.9975 GB, free: 8.926 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.766/1.98, allocations: 0 / 0.9975 GB, free: 8.926 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1)