Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.48/1.48, allocations: 251.5 MB / 267.4 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001005/0.001005, allocations: 172.6 kB / 326.5 MB, free: 2.723 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.842/1.842, allocations: 205 MB / 0.5766 GB, free: 21.01 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007582/0.0007582, allocations: 98.16 kB / 0.6804 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003002/0.0003002, allocations: 9.062 kB / 0.7938 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1702, allocations: 105.4 MB / 0.8968 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.00143/0.1717, allocations: 1.287 MB / 0.898 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004371/0.1722, allocations: 229.8 kB / 0.8982 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.587e-05/0.1722, allocations: 0 / 0.8982 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001038/0.1724, allocations: 3.938 kB / 0.8982 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.359e-05/0.1724, allocations: 23.8 kB / 0.8983 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001951/0.1726, allocations: 43.94 kB / 0.8983 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001529/0.1728, allocations: 159.5 kB / 0.8985 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.1729, allocations: 33.66 kB / 0.8985 GB, free: 66.42 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.173, allocations: 59.77 kB / 0.8985 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.414e-05/0.1731, allocations: 71.66 kB / 0.8986 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.674e-05/0.1732, allocations: 4 kB / 0.8986 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.168e-05/0.1732, allocations: 8 kB / 0.8986 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.344e-05/0.1733, allocations: 27.91 kB / 0.8986 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.271e-05/0.1733, allocations: 59.59 kB / 0.8987 GB, free: 66.19 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001115/0.1734, allocations: 115.7 kB / 0.8988 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1735, allocations: 4 kB / 0.8988 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.783e-06/0.1735, allocations: 0 / 0.8988 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.1735, allocations: 0 / 0.8988 GB, free: 66.07 MB / 0.6042 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.000855/0.1743, allocations: 498.8 kB / 0.8993 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.1744, allocations: 8.031 kB / 0.8993 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.965e-05/0.1744, allocations: 20.73 kB / 0.8993 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.1746, allocations: 227.9 kB / 0.8995 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.1747, allocations: 12.38 kB / 0.8996 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.1747, allocations: 8.375 kB / 0.8996 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005438/0.1752, allocations: 231.8 kB / 0.8998 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.1753, allocations: 4.125 kB / 0.8998 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.1753, allocations: 3.938 kB / 0.8998 GB, free: 64.97 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.1753, allocations: 8 kB / 0.8998 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007342/0.176, allocations: 247.7 kB / 0.9 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.1771, allocations: 0.8136 MB / 0.9008 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000587/0.1777, allocations: 268.9 kB / 0.9011 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000375/0.1781, allocations: 148.3 kB / 0.9012 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.1781, allocations: 4 kB / 0.9012 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005672/0.1787, allocations: 231.5 kB / 0.9014 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.1787, allocations: 0 / 0.9014 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.001254/0.1799, allocations: 437.3 kB / 0.9019 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.18, allocations: 162.2 kB / 0.902 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.1801, allocations: 178.7 kB / 0.9022 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.1802, allocations: 33.7 kB / 0.9022 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.048e-05/0.1802, allocations: 115.9 kB / 0.9023 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.1802, allocations: 31.7 kB / 0.9024 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/0.1803, allocations: 25.7 kB / 0.9024 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.565e-05/0.1803, allocations: 322.8 kB / 0.9027 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003952/0.1807, allocations: 127.9 kB / 0.9028 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003896/0.1811, allocations: 172.2 kB / 0.903 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007265/0.1819, allocations: 280 kB / 0.9032 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1819, allocations: 0 / 0.9032 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008569/0.1827, allocations: 333.2 kB / 0.9036 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.1828, allocations: 4 kB / 0.9036 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1828, allocations: 4 kB / 0.9036 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.1828, allocations: 3.938 kB / 0.9036 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002856/0.1831, allocations: 67.88 kB / 0.9036 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.1831, allocations: 11.94 kB / 0.9037 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002603/0.1834, allocations: 59.8 kB / 0.9037 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.1834, allocations: 4 kB / 0.9037 GB, free: 60.68 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (pul.count,$PRE.pul.count,pul.T_start,$PRE.pul.T_start,$whenCondition2,pul1.count,$PRE.pul1.count,pul1.T_start,$PRE.pul1.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 9.001e-05/0.1835, allocations: 134.8 kB / 0.9038 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.1835, allocations: 15.81 kB / 0.9039 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.851e-05/0.1836, allocations: 20.92 kB / 0.9039 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.1836, allocations: 4 kB / 0.9039 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1836, allocations: 3.938 kB / 0.9039 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.1836, allocations: 4 kB / 0.9039 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.1837, allocations: 229.5 kB / 0.9041 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1837, allocations: 0 / 0.9041 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002145/0.184, allocations: 55.89 kB / 0.9042 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.184, allocations: 4 kB / 0.9042 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.184, allocations: 8 kB / 0.9042 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.184, allocations: 0 / 0.9042 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.184, allocations: 3.938 kB / 0.9042 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007924/0.1848, allocations: 368.1 kB / 0.9045 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.914e-05/0.1849, allocations: 89 kB / 0.9046 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.106e-05/0.1849, allocations: 8 kB / 0.9046 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002484/0.1851, allocations: 43.95 kB / 0.9047 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.863e-05/0.1852, allocations: 39.89 kB / 0.9047 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.1853, allocations: 4 kB / 0.9047 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.528e-05/0.1853, allocations: 131.2 kB / 0.9048 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1853, allocations: 0 / 0.9048 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002277/0.1856, allocations: 39.83 kB / 0.9049 GB, free: 59.39 MB / 0.6042 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 ($whenCondition2,pul.T_start,pul.count,$whenCondition1,pul1.T_start,pul1.count) * Number of discrete states: 2 (pul1.count,pul.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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 9.555e-05/0.1857, allocations: 103.6 kB / 0.905 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008365/0.1865, allocations: 284.1 kB / 0.9052 GB, free: 59 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1865, allocations: 0 / 0.9052 GB, free: 59 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004516/0.187, allocations: 152.1 kB / 0.9054 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.1873, allocations: 32.25 kB / 0.9054 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005754/0.1879, allocations: 366.4 kB / 0.9058 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001161/0.188, allocations: 0.72 MB / 0.9065 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.743e-05/0.1881, allocations: 15.44 kB / 0.9065 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of SimCode: time 3.2e-07/0.1881, allocations: 0 / 0.9065 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of Templates: time 0.003056/0.1911, allocations: 2.05 MB / 0.9085 GB, free: 55.62 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1)