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.376/1.376, allocations: 252 MB / 267.6 MB, free: 10.93 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.001061/0.001061, allocations: 179.5 kB / 327.3 MB, free: 2.219 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.79/1.79, allocations: 205.4 MB / 0.5783 GB, free: 20.21 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.000713/0.0007127, allocations: 95.72 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003613, allocations: 9.094 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.229, allocations: 106.3 MB / 0.9008 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001549/0.2306, allocations: 1.249 MB / 0.9021 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004682/0.2311, allocations: 220.3 kB / 0.9023 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.334e-05/0.2312, allocations: 4 kB / 0.9023 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.079e-05/0.2313, allocations: 7.875 kB / 0.9023 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.566e-05/0.2313, allocations: 23.84 kB / 0.9023 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.2315, allocations: 35.89 kB / 0.9023 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.2317, allocations: 147.5 kB / 0.9025 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.2318, allocations: 29.42 kB / 0.9025 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.232e-05/0.2319, allocations: 51.83 kB / 0.9026 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.416e-05/0.232, allocations: 67.73 kB / 0.9026 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.795e-05/0.232, allocations: 8 kB / 0.9026 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.149e-05/0.2321, allocations: 8 kB / 0.9026 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.253e-05/0.2321, allocations: 31.84 kB / 0.9027 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.301e-05/0.2322, allocations: 41.64 kB / 0.9027 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.2323, allocations: 123.7 kB / 0.9028 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2323, allocations: 0 / 0.9028 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2323, allocations: 0 / 0.9028 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.2323, allocations: 0 / 0.9028 GB, free: 61.84 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.000895/0.2332, allocations: 0.4911 MB / 0.9033 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.2332, allocations: 16.03 kB / 0.9033 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.704e-05/0.2333, allocations: 11.81 kB / 0.9033 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.2335, allocations: 218.7 kB / 0.9035 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.2335, allocations: 4 kB / 0.9035 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.2335, allocations: 15.94 kB / 0.9036 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005507/0.2341, allocations: 232 kB / 0.9038 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.2341, allocations: 0 / 0.9038 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/0.2341, allocations: 11.94 kB / 0.9038 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.2341, allocations: 3.953 kB / 0.9038 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007813/0.2349, allocations: 243.7 kB / 0.904 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.236, allocations: 0.8214 MB / 0.9048 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006167/0.2367, allocations: 261 kB / 0.9051 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003836/0.2371, allocations: 144.3 kB / 0.9052 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.2371, allocations: 11.94 kB / 0.9052 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005656/0.2377, allocations: 231.5 kB / 0.9055 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 2.174e-06/0.2377, allocations: 0 / 0.9055 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.001295/0.239, allocations: 429.4 kB / 0.9059 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.459e-05/0.239, allocations: 166.3 kB / 0.906 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.2392, allocations: 179.3 kB / 0.9062 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.2392, allocations: 25.7 kB / 0.9062 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.095e-05/0.2393, allocations: 116 kB / 0.9063 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.623e-05/0.2393, allocations: 35.55 kB / 0.9064 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.648e-06/0.2393, allocations: 0 / 0.9064 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.188e-05/0.2394, allocations: 330.8 kB / 0.9067 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003961/0.2398, allocations: 139.8 kB / 0.9068 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003948/0.2402, allocations: 164.2 kB / 0.907 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003871/0.2406, allocations: 131.9 kB / 0.9071 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.2406, allocations: 0 / 0.9071 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008472/0.2414, allocations: 329.2 kB / 0.9074 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.2415, allocations: 4 kB / 0.9074 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.2415, allocations: 8.062 kB / 0.9074 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.2415, allocations: 0 / 0.9074 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003002/0.2418, allocations: 59.94 kB / 0.9075 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.2418, allocations: 7.938 kB / 0.9075 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002716/0.2421, allocations: 63.8 kB / 0.9075 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.889e-05/0.2421, allocations: 4 kB / 0.9075 GB, free: 56.65 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 ($whenCondition2,$PRE.pul.T_start,pul.T_start,$PRE.pul.count,pul.count,$whenCondition1,$PRE.pul1.T_start,pul1.T_start,$PRE.pul1.count,pul1.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.728e-05/0.2422, allocations: 137.7 kB / 0.9077 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.666e-05/0.2423, allocations: 20.19 kB / 0.9077 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.188e-05/0.2423, allocations: 24.92 kB / 0.9077 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.2423, allocations: 7.984 kB / 0.9077 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.2423, allocations: 0 / 0.9077 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.2423, allocations: 4 kB / 0.9077 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.2425, allocations: 225.5 kB / 0.9079 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2425, allocations: 3.938 kB / 0.9079 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000217/0.2427, allocations: 63.88 kB / 0.908 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.2427, allocations: 4 kB / 0.908 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.2428, allocations: 0 / 0.908 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2428, allocations: 4 kB / 0.908 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.2428, allocations: 0 / 0.908 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008106/0.2436, allocations: 356.1 kB / 0.9084 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.106e-05/0.2436, allocations: 92.91 kB / 0.9084 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.174e-05/0.2437, allocations: 11.98 kB / 0.9085 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002522/0.2439, allocations: 47.95 kB / 0.9085 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.979e-05/0.244, allocations: 31.89 kB / 0.9085 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.244, allocations: 15.98 kB / 0.9085 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.233e-05/0.2441, allocations: 123.5 kB / 0.9087 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2441, allocations: 0 / 0.9087 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002182/0.2443, allocations: 35.91 kB / 0.9087 GB, free: 55.36 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 (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.0001026/0.2444, allocations: 97.08 kB / 0.9088 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008684/0.2453, allocations: 295.9 kB / 0.9091 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2453, allocations: 0 / 0.9091 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004524/0.2458, allocations: 148 kB / 0.9092 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.2461, allocations: 35.98 kB / 0.9093 GB, free: 54.78 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006352/0.2467, allocations: 357.3 kB / 0.9096 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000184/0.2469, allocations: 0.7121 MB / 0.9103 GB, free: 53.65 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.177e-05/0.247, allocations: 11.44 kB / 0.9103 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.247, allocations: 4 kB / 0.9103 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of Templates: time 0.003082/0.2501, allocations: 2.055 MB / 0.9123 GB, free: 51.6 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)