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.RealExtractor.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.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.428/1.428, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.001067/0.001067, allocations: 180.5 kB / 326.5 MB, free: 2.688 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.956/1.956, allocations: 205 MB / 0.5766 GB, free: 20.98 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.0006849/0.0006849, allocations: 88.44 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003226/0.0003227, allocations: 11.91 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1638, allocations: 105.4 MB / 0.8968 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001385/0.1652, allocations: 1.374 MB / 0.8981 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004259/0.1657, allocations: 272.9 kB / 0.8984 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.196e-05/0.1657, allocations: 8 kB / 0.8984 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001026/0.1659, allocations: 7.875 kB / 0.8984 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.962e-05/0.1659, allocations: 23.8 kB / 0.8984 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002015/0.1661, allocations: 55.92 kB / 0.8984 GB, free: 66.42 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.1663, allocations: 223.4 kB / 0.8987 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.1665, allocations: 61.75 kB / 0.8987 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.954e-05/0.1665, allocations: 83.67 kB / 0.8988 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.1667, allocations: 107.6 kB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.094e-05/0.1667, allocations: 8 kB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.823e-05/0.1667, allocations: 12 kB / 0.8989 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.686e-05/0.1668, allocations: 47.83 kB / 0.899 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.724e-05/0.1669, allocations: 87.45 kB / 0.899 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.167, allocations: 175.6 kB / 0.8992 GB, free: 65.63 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.167, allocations: 0 / 0.8992 GB, free: 65.63 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.122e-06/0.167, allocations: 4 kB / 0.8992 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.167, allocations: 0 / 0.8992 GB, free: 65.62 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0009553/0.168, allocations: 0.538 MB / 0.8997 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.1681, allocations: 11.97 kB / 0.8998 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.5e-05/0.1681, allocations: 32.64 kB / 0.8998 GB, free: 64.99 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.1683, allocations: 239.8 kB / 0.9 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.924e-05/0.1683, allocations: 16.38 kB / 0.9 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.353e-05/0.1684, allocations: 20.38 kB / 0.9 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006423/0.169, allocations: 305.7 kB / 0.9003 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.169, allocations: 4.125 kB / 0.9003 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.766e-05/0.1691, allocations: 19.86 kB / 0.9004 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.1691, allocations: 4 kB / 0.9004 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008768/0.17, allocations: 351.5 kB / 0.9007 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001148/0.1711, allocations: 0.6871 MB / 0.9014 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007236/0.1719, allocations: 310.3 kB / 0.9017 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004814/0.1724, allocations: 208.7 kB / 0.9019 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.1724, allocations: 7.938 kB / 0.9019 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006163/0.173, allocations: 313 kB / 0.9022 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=27): time 1.894e-06/0.173, allocations: 0 / 0.9022 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27): time 0.001592/0.1746, allocations: 0.6854 MB / 0.9028 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.1747, allocations: 63.33 kB / 0.9029 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.1748, allocations: 190.4 kB / 0.9031 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.1748, allocations: 33.7 kB / 0.9031 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.466e-05/0.1749, allocations: 132.5 kB / 0.9032 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.052e-05/0.1749, allocations: 63.11 kB / 0.9033 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-05/0.175, allocations: 37.7 kB / 0.9033 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.943e-05/0.175, allocations: 330.8 kB / 0.9037 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004948/0.1755, allocations: 191.9 kB / 0.9038 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004932/0.176, allocations: 201 kB / 0.904 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008883/0.1769, allocations: 376.9 kB / 0.9044 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.177, allocations: 0 / 0.9044 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001022/0.178, allocations: 476.8 kB / 0.9048 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.178, allocations: 4 kB / 0.9048 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.178, allocations: 0 / 0.9048 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.178, allocations: 7.938 kB / 0.9049 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003907/0.1784, allocations: 91.92 kB / 0.9049 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.1784, allocations: 3.938 kB / 0.9049 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002897/0.1787, allocations: 67.78 kB / 0.905 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.431e-05/0.1788, allocations: 8 kB / 0.905 GB, free: 59.45 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 26 (extIndSig1.k[5],extIndSig1.k[4],extIndSig1.k[3],extIndSig1.k[2],extIndSig1.k[1],extIndSig1.index,$PRE.extIndSig1.index,pul1.count,$PRE.pul1.count,pul1.T_start,$PRE.pul1.T_start,pul.count,$PRE.pul.count,pul.T_start,$PRE.pul.T_start,extIndSig.k[5],extIndSig.k[4],extIndSig.k[3],extIndSig.k[2],extIndSig.k[1],extIndSig.index,$PRE.extIndSig.index,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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 0.000116/0.1789, allocations: 151.6 kB / 0.9052 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.017e-05/0.1789, allocations: 27.66 kB / 0.9052 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.423e-05/0.179, allocations: 38.41 kB / 0.9052 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.179, allocations: 3.938 kB / 0.9052 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.179, allocations: 4 kB / 0.9052 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.179, allocations: 0 / 0.9052 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001292/0.1803, allocations: 0.8738 MB / 0.9061 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.1803, allocations: 3.938 kB / 0.9061 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002644/0.1806, allocations: 67.88 kB / 0.9062 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.1806, allocations: 0 / 0.9062 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.1806, allocations: 15.98 kB / 0.9062 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1806, allocations: 0 / 0.9062 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1806, allocations: 0 / 0.9062 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.1817, allocations: 0.593 MB / 0.9068 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.036e-05/0.1818, allocations: 100.7 kB / 0.9068 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.099e-05/0.1818, allocations: 11.98 kB / 0.9069 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003066/0.1821, allocations: 55.94 kB / 0.9069 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.1822, allocations: 39.94 kB / 0.907 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.832e-05/0.1823, allocations: 16 kB / 0.907 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.021e-05/0.1823, allocations: 131.2 kB / 0.9071 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1823, allocations: 0 / 0.9071 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002511/0.1826, allocations: 48 kB / 0.9071 GB, free: 57.18 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],pul.T_start,pul.count,pul1.T_start,pul1.count,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 4 (pul1.count,pul.count,extIndSig.index,extIndSig1.index) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0001199/0.1827, allocations: 123.2 kB / 0.9073 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001047/0.1838, allocations: 451.5 kB / 0.9077 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1838, allocations: 0 / 0.9077 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005468/0.1843, allocations: 239.8 kB / 0.9079 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.1847, allocations: 27.92 kB / 0.9079 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009003/0.1856, allocations: 0.5463 MB / 0.9085 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001664/0.1858, allocations: 0.7362 MB / 0.9092 GB, free: 55.01 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.1859, allocations: 27.42 kB / 0.9092 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of SimCode: time 3.7e-07/0.1859, allocations: 0 / 0.9092 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of Templates: time 0.004056/0.19, allocations: 3.222 MB / 0.9124 GB, free: 51.77 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1)