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.388/1.388, allocations: 252 MB / 268 MB, free: 10.86 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.001241/0.001241, allocations: 177.4 kB / 327.6 MB, free: 2.074 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.808/1.808, allocations: 205.4 MB / 0.5786 GB, free: 20.09 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.0008391/0.0008391, allocations: 85.5 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003208/0.0003212, allocations: 8.812 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2165, allocations: 106.3 MB / 0.9015 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001641/0.2182, allocations: 1.268 MB / 0.9027 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005462/0.2188, allocations: 228.2 kB / 0.9029 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.171e-05/0.2189, allocations: 0 / 0.9029 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.219, allocations: 7.938 kB / 0.9029 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.611e-05/0.2191, allocations: 27.78 kB / 0.9029 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002269/0.2193, allocations: 35.95 kB / 0.903 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.2195, allocations: 159.5 kB / 0.9031 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.2197, allocations: 33.44 kB / 0.9032 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.2198, allocations: 63.69 kB / 0.9032 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.2199, allocations: 63.73 kB / 0.9033 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.779e-05/0.22, allocations: 8 kB / 0.9033 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.482e-05/0.22, allocations: 8 kB / 0.9033 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.902e-05/0.2201, allocations: 27.91 kB / 0.9033 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.384e-05/0.2202, allocations: 85.3 kB / 0.9034 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.2203, allocations: 115.7 kB / 0.9035 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.2203, allocations: 4 kB / 0.9035 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.405e-06/0.2204, allocations: 0 / 0.9035 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.2204, allocations: 0 / 0.9035 GB, free: 61.33 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.0009772/0.2213, allocations: 0.4951 MB / 0.904 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.2214, allocations: 8.031 kB / 0.904 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.028e-05/0.2215, allocations: 20.75 kB / 0.904 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.2216, allocations: 220 kB / 0.9042 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.2217, allocations: 8.375 kB / 0.9043 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.2217, allocations: 8.375 kB / 0.9043 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005756/0.2223, allocations: 240.1 kB / 0.9045 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.2223, allocations: 4.172 kB / 0.9045 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.2223, allocations: 11.94 kB / 0.9045 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.2223, allocations: 4 kB / 0.9045 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007527/0.2231, allocations: 243.7 kB / 0.9047 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.2243, allocations: 0.8174 MB / 0.9055 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006041/0.2249, allocations: 268.9 kB / 0.9058 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003833/0.2253, allocations: 148.3 kB / 0.9059 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.2253, allocations: 4 kB / 0.9059 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005578/0.2259, allocations: 231.5 kB / 0.9062 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 2.043e-06/0.2259, allocations: 4 kB / 0.9062 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.001294/0.2272, allocations: 433.3 kB / 0.9066 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/0.2273, allocations: 166.2 kB / 0.9067 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.2274, allocations: 178.6 kB / 0.9069 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.2274, allocations: 29.7 kB / 0.9069 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.475e-05/0.2275, allocations: 119.9 kB / 0.9071 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.2275, allocations: 31.64 kB / 0.9071 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.074e-05/0.2276, allocations: 3.938 kB / 0.9071 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.533e-05/0.2276, allocations: 326.8 kB / 0.9074 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004194/0.228, allocations: 131.9 kB / 0.9075 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003968/0.2284, allocations: 164.2 kB / 0.9077 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007414/0.2292, allocations: 284 kB / 0.908 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2292, allocations: 4 kB / 0.908 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008698/0.2301, allocations: 333.2 kB / 0.9083 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.2301, allocations: 4 kB / 0.9083 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.2301, allocations: 4 kB / 0.9083 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.2301, allocations: 0 / 0.9083 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002988/0.2305, allocations: 71.88 kB / 0.9083 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.2305, allocations: 7.938 kB / 0.9084 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002647/0.2307, allocations: 59.78 kB / 0.9084 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.196e-05/0.2308, allocations: 8 kB / 0.9084 GB, free: 55.94 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001036/0.2309, allocations: 130.9 kB / 0.9085 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.973e-05/0.2309, allocations: 15.81 kB / 0.9086 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.938e-05/0.231, allocations: 16.94 kB / 0.9086 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.231, allocations: 7.938 kB / 0.9086 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.231, allocations: 3.938 kB / 0.9086 GB, free: 55.76 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.231, allocations: 7.984 kB / 0.9086 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.2312, allocations: 221.6 kB / 0.9088 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.2312, allocations: 0 / 0.9088 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002168/0.2314, allocations: 55.94 kB / 0.9089 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.2314, allocations: 4 kB / 0.9089 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.2314, allocations: 3.938 kB / 0.9089 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.2314, allocations: 4 kB / 0.9089 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.2315, allocations: 3.938 kB / 0.9089 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008423/0.2323, allocations: 364.4 kB / 0.9092 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.058e-05/0.2324, allocations: 88.95 kB / 0.9093 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.261e-05/0.2324, allocations: 12 kB / 0.9093 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002469/0.2326, allocations: 47.94 kB / 0.9094 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.997e-05/0.2328, allocations: 39.89 kB / 0.9094 GB, free: 54.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.2328, allocations: 7.984 kB / 0.9094 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.567e-05/0.2329, allocations: 131.2 kB / 0.9095 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2329, allocations: 0 / 0.9095 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002329/0.2331, allocations: 27.91 kB / 0.9096 GB, free: 54.66 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 0.0001249/0.2332, allocations: 111.2 kB / 0.9097 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008592/0.2341, allocations: 279.9 kB / 0.9099 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2341, allocations: 0 / 0.9099 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004438/0.2346, allocations: 152 kB / 0.9101 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.2349, allocations: 37.34 kB / 0.9101 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006484/0.2356, allocations: 373.2 kB / 0.9105 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001742/0.2357, allocations: 0.716 MB / 0.9112 GB, free: 52.94 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.901e-05/0.2358, allocations: 19.44 kB / 0.9112 GB, free: 52.92 MB / 0.6042 GB Notification: Performance of SimCode: time 5.51e-07/0.2358, allocations: 0 / 0.9112 GB, free: 52.92 MB / 0.6042 GB Notification: Performance of Templates: time 0.003557/0.2394, allocations: 2.057 MB / 0.9132 GB, free: 50.88 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)