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: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001345/0.001346, allocations: 107 kB / 16.36 MB, free: 5.945 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.001177/0.001177, allocations: 197.2 kB / 17.3 MB, free: 5.559 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.491/1.491, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.822/1.822, allocations: 292.3 MB / 0.5496 GB, free: 17.52 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.002899/0.002899, allocations: 71.91 kB / 0.6729 GB, free: 5.883 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2753, allocations: 114.5 MB / 0.7848 GB, free: 3.227 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.003296/0.2787, allocations: 0.9816 MB / 0.7858 GB, free: 2.238 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002421/0.2811, allocations: 1.285 MB / 0.787 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001943/0.2813, allocations: 7.938 kB / 0.787 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001796/0.2815, allocations: 15.81 kB / 0.787 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001678/0.2818, allocations: 39.64 kB / 0.7871 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.2828, allocations: 248.5 kB / 0.7873 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005915/0.2834, allocations: 343.4 kB / 0.7876 GB, free: 308 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002008/0.2836, allocations: 53.48 kB / 0.7877 GB, free: 256 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000291/0.2839, allocations: 123.7 kB / 0.7878 GB, free: 132 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002358/0.2841, allocations: 115.6 kB / 0.7879 GB, free: 16 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.4375/0.7216, allocations: 30.27 kB / 0.7879 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002841/0.722, allocations: 42.5 kB / 0.788 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.7221, allocations: 39.45 kB / 0.788 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002708/0.7224, allocations: 115.7 kB / 0.7881 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005326/0.723, allocations: 335.2 kB / 0.7884 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.83e-06/0.723, allocations: 0 / 0.7884 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.603e-06/0.723, allocations: 2.719 kB / 0.7884 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.723, allocations: 2.531 kB / 0.7885 GB, free: 46.96 MB / 0.6544 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.0009155/0.7239, allocations: 0.5708 MB / 0.789 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.724, allocations: 8.156 kB / 0.789 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.367e-05/0.7241, allocations: 28.72 kB / 0.789 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002842/0.7244, allocations: 258.2 kB / 0.7893 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.7244, allocations: 11.88 kB / 0.7893 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.414e-05/0.7244, allocations: 17.34 kB / 0.7893 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003646/0.7248, allocations: 169 kB / 0.7895 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.7248, allocations: 192 / 0.7895 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.7249, allocations: 7.188 kB / 0.7895 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.7249, allocations: 5.438 kB / 0.7895 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004558/0.7253, allocations: 132.5 kB / 0.7896 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000903/0.7262, allocations: 0.8705 MB / 0.7905 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002854/0.7265, allocations: 165.2 kB / 0.7906 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002233/0.7268, allocations: 88.28 kB / 0.7907 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.7268, allocations: 6.391 kB / 0.7907 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003954/0.7272, allocations: 181.1 kB / 0.7909 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 1.793e-06/0.7272, allocations: 0.5625 kB / 0.7909 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.0008311/0.7281, allocations: 282.9 kB / 0.7912 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.7281, allocations: 167.9 kB / 0.7913 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.7283, allocations: 205.5 kB / 0.7915 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.375e-05/0.7283, allocations: 36.2 kB / 0.7915 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.742e-05/0.7284, allocations: 132.9 kB / 0.7917 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/0.7284, allocations: 27.45 kB / 0.7917 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.524e-05/0.7285, allocations: 54.41 kB / 0.7918 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.501e-05/0.7286, allocations: 335.6 kB / 0.7921 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003164/0.7289, allocations: 114.2 kB / 0.7922 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003402/0.7293, allocations: 181.1 kB / 0.7924 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005201/0.7298, allocations: 296.3 kB / 0.7926 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.7298, allocations: 2.625 kB / 0.7926 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007741/0.7306, allocations: 411 kB / 0.793 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.59e-05/0.7306, allocations: 71.3 kB / 0.7931 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.7307, allocations: 5.875 kB / 0.7931 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.7307, allocations: 2.656 kB / 0.7931 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.7309, allocations: 29.59 kB / 0.7931 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.7309, allocations: 5.578 kB / 0.7931 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003786/0.7313, allocations: 75.81 kB / 0.7932 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.14e-05/0.7313, allocations: 16.61 kB / 0.7932 GB, free: 44.17 MB / 0.6544 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.0001076/0.7314, allocations: 135.9 kB / 0.7934 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/0.7315, allocations: 14.75 kB / 0.7934 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.248e-05/0.7315, allocations: 23.81 kB / 0.7934 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.7315, allocations: 9.875 kB / 0.7934 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.7315, allocations: 0.75 kB / 0.7934 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.7315, allocations: 1.438 kB / 0.7934 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.7317, allocations: 249.7 kB / 0.7936 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.7317, allocations: 4.359 kB / 0.7937 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/0.7319, allocations: 23.62 kB / 0.7937 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.7319, allocations: 3.375 kB / 0.7937 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.7319, allocations: 12.17 kB / 0.7937 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.7319, allocations: 5.344 kB / 0.7937 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.7319, allocations: 7.5 kB / 0.7937 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000489/0.7324, allocations: 251.4 kB / 0.7939 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.573e-05/0.7324, allocations: 91.83 kB / 0.794 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.7325, allocations: 9.031 kB / 0.794 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.7326, allocations: 22.77 kB / 0.7941 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.84e-05/0.7327, allocations: 16.94 kB / 0.7941 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.7327, allocations: 6.766 kB / 0.7941 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000101/0.7328, allocations: 159.7 kB / 0.7942 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.7328, allocations: 0 / 0.7942 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002878/0.7331, allocations: 45.97 kB / 0.7943 GB, free: 43.53 MB / 0.6544 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.0001696/0.7333, allocations: 104.4 kB / 0.7944 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007157/0.734, allocations: 374.4 kB / 0.7947 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.734, allocations: 0 / 0.7947 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002653/0.7343, allocations: 93.08 kB / 0.7948 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.7346, allocations: 43.47 kB / 0.7949 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005238/0.7352, allocations: 326.7 kB / 0.7952 GB, free: 43.11 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001692/0.7354, allocations: 0.7272 MB / 0.7959 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 8.372e-05/0.7354, allocations: 24.75 kB / 0.7959 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.847e-05/0.7355, allocations: 22.88 kB / 0.7959 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of SimCode: time 2.01e-07/0.7355, allocations: 4 kB / 0.7959 GB, free: 42.4 MB / 0.6544 GB Notification: Performance of Templates: time 0.006664/0.7422, allocations: 3.195 MB / 0.7991 GB, free: 42.27 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile (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 & ./Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1)