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.001053/0.001053, allocations: 98.58 kB / 16.26 MB, free: 6.418 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.00106/0.00106, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.343/1.343, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.762/1.762, allocations: 292.3 MB / 0.5495 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.001454/0.001454, allocations: 75.88 kB / 0.6722 GB, free: 6.539 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.2441, allocations: 114.6 MB / 0.784 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002393/0.2465, allocations: 0.9689 MB / 0.785 GB, free: 2.895 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001803/0.2483, allocations: 1.285 MB / 0.7862 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.335e-05/0.2484, allocations: 3.938 kB / 0.7863 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001229/0.2486, allocations: 11.81 kB / 0.7863 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.385e-05/0.2487, allocations: 39.64 kB / 0.7863 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007257/0.2494, allocations: 252.6 kB / 0.7865 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003784/0.2498, allocations: 347.3 kB / 0.7869 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.25, allocations: 45.55 kB / 0.7869 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001576/0.2501, allocations: 127.7 kB / 0.787 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.2503, allocations: 99.64 kB / 0.7871 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.294e-05/0.2503, allocations: 32 kB / 0.7872 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.2504, allocations: 43.98 kB / 0.7872 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.185e-05/0.2505, allocations: 39.8 kB / 0.7872 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000152/0.2507, allocations: 119.5 kB / 0.7874 GB, free: 472 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000364/0.251, allocations: 335.3 kB / 0.7877 GB, free: 136 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2511, allocations: 0 / 0.7877 GB, free: 136 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.041e-06/0.2511, allocations: 0 / 0.7877 GB, free: 136 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.2511, allocations: 0 / 0.7877 GB, free: 136 kB / 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.4733/0.7243, allocations: 0.5587 MB / 0.7882 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.7244, allocations: 11.34 kB / 0.7882 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.172e-05/0.7245, allocations: 26.25 kB / 0.7883 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/0.7248, allocations: 255.6 kB / 0.7885 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.7248, allocations: 14.91 kB / 0.7885 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.742e-05/0.7249, allocations: 16.34 kB / 0.7885 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003871/0.7253, allocations: 172.6 kB / 0.7887 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.7253, allocations: 192 / 0.7887 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.7253, allocations: 7.562 kB / 0.7887 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.7253, allocations: 5.875 kB / 0.7887 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004538/0.7258, allocations: 132 kB / 0.7888 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008945/0.7267, allocations: 0.8738 MB / 0.7897 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002893/0.727, allocations: 169.6 kB / 0.7899 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002321/0.7273, allocations: 88.16 kB / 0.7899 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.7273, allocations: 4.469 kB / 0.7899 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004272/0.7277, allocations: 185.7 kB / 0.7901 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 1.253e-06/0.7277, allocations: 0 / 0.7901 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.0008895/0.7286, allocations: 286.5 kB / 0.7904 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.7287, allocations: 164.7 kB / 0.7905 GB, free: 45 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.7289, allocations: 208 kB / 0.7907 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/0.7289, allocations: 33.27 kB / 0.7908 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.056e-05/0.729, allocations: 130.3 kB / 0.7909 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.729, allocations: 29.39 kB / 0.7909 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.7291, allocations: 50.2 kB / 0.791 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.378e-05/0.7292, allocations: 332.1 kB / 0.7913 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003423/0.7296, allocations: 123.2 kB / 0.7914 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003352/0.7299, allocations: 183.1 kB / 0.7916 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005422/0.7305, allocations: 293.8 kB / 0.7919 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.7305, allocations: 0 / 0.7919 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008234/0.7313, allocations: 408.8 kB / 0.7923 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.415e-05/0.7314, allocations: 69.03 kB / 0.7923 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.7314, allocations: 0 / 0.7923 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.7314, allocations: 3.438 kB / 0.7923 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.7316, allocations: 37.28 kB / 0.7924 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.7316, allocations: 8.281 kB / 0.7924 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004329/0.7321, allocations: 74.48 kB / 0.7924 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.598e-05/0.7321, allocations: 16.22 kB / 0.7925 GB, free: 44.04 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.0001155/0.7322, allocations: 137.3 kB / 0.7926 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.059e-05/0.7323, allocations: 19.16 kB / 0.7926 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.208e-05/0.7323, allocations: 21.61 kB / 0.7926 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.7323, allocations: 7.938 kB / 0.7926 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.7323, allocations: 4.625 kB / 0.7926 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.7323, allocations: 0 / 0.7926 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/0.7325, allocations: 246.9 kB / 0.7929 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.7325, allocations: 2.625 kB / 0.7929 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.7327, allocations: 30.16 kB / 0.7929 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.7327, allocations: 2.625 kB / 0.7929 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.7327, allocations: 6.562 kB / 0.7929 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/0.7327, allocations: 12.48 kB / 0.7929 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.7327, allocations: 4 kB / 0.7929 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005716/0.7333, allocations: 249.4 kB / 0.7932 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.96e-05/0.7334, allocations: 96.14 kB / 0.7933 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.7334, allocations: 6.25 kB / 0.7933 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.7335, allocations: 22.92 kB / 0.7933 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.228e-05/0.7336, allocations: 14.7 kB / 0.7933 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.7336, allocations: 8.062 kB / 0.7933 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001005/0.7337, allocations: 158.9 kB / 0.7935 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7337, allocations: 1.5 kB / 0.7935 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002836/0.734, allocations: 49.28 kB / 0.7935 GB, free: 43.41 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.0001438/0.7342, allocations: 103.5 kB / 0.7936 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007557/0.7349, allocations: 375.5 kB / 0.794 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.7349, allocations: 0 / 0.794 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002986/0.7352, allocations: 107.2 kB / 0.7941 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.7356, allocations: 51.8 kB / 0.7941 GB, free: 43.19 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005957/0.7362, allocations: 365.5 kB / 0.7945 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001688/0.7364, allocations: 0.7205 MB / 0.7952 GB, free: 42.26 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.834e-05/0.7365, allocations: 17.48 kB / 0.7952 GB, free: 42.26 MB / 0.6544 GB Notification: Performance of SimCode: time 4.11e-07/0.7365, allocations: 0 / 0.7952 GB, free: 42.26 MB / 0.6544 GB Notification: Performance of Templates: time 0.005017/0.7415, allocations: 2.706 MB / 0.7978 GB, free: 42.11 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1)