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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.415/1.415, allocations: 252 MB / 267 MB, free: 10.97 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.001087/0.001087, allocations: 194.5 kB / 326.6 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.847/1.847, allocations: 205.4 MB / 0.5777 GB, free: 20.23 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.0007781/0.000778, allocations: 84.09 kB / 0.6823 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000344/0.0003442, allocations: 10.97 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2077, allocations: 106.3 MB / 0.9003 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001557/0.2093, allocations: 1.253 MB / 0.9015 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004149/0.2097, allocations: 216.2 kB / 0.9017 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.662e-05/0.2098, allocations: 0 / 0.9017 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.993e-05/0.2099, allocations: 7.938 kB / 0.9018 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.999e-05/0.21, allocations: 27.72 kB / 0.9018 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001976/0.2102, allocations: 35.95 kB / 0.9018 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001504/0.2104, allocations: 151.5 kB / 0.902 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.2105, allocations: 25.44 kB / 0.902 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.496e-05/0.2106, allocations: 55.83 kB / 0.902 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.853e-05/0.2107, allocations: 71.66 kB / 0.9021 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.147e-05/0.2107, allocations: 8 kB / 0.9021 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.236e-05/0.2108, allocations: 4 kB / 0.9021 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.44e-05/0.2108, allocations: 31.91 kB / 0.9021 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.715e-05/0.2109, allocations: 41.64 kB / 0.9022 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.774e-05/0.211, allocations: 115.7 kB / 0.9023 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.211, allocations: 4 kB / 0.9023 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.044e-06/0.211, allocations: 0 / 0.9023 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.211, allocations: 4 kB / 0.9023 GB, free: 61.7 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.0008997/0.2119, allocations: 491 kB / 0.9028 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.212, allocations: 12.02 kB / 0.9028 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.128e-05/0.212, allocations: 38.56 kB / 0.9028 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.956e-05/0.2121, allocations: 19.81 kB / 0.9028 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.2122, allocations: 218.7 kB / 0.903 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.2122, allocations: 8 kB / 0.9031 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.2123, allocations: 15.98 kB / 0.9031 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005423/0.2128, allocations: 233.7 kB / 0.9033 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.2128, allocations: 0 / 0.9033 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.985e-05/0.2129, allocations: 11.94 kB / 0.9033 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.2129, allocations: 4 kB / 0.9033 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007428/0.2136, allocations: 243.7 kB / 0.9035 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.2147, allocations: 0.8096 MB / 0.9043 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006289/0.2153, allocations: 272.9 kB / 0.9046 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003695/0.2157, allocations: 144.3 kB / 0.9047 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.2158, allocations: 0 / 0.9047 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005368/0.2163, allocations: 243.5 kB / 0.905 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.2163, allocations: 0 / 0.905 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.001261/0.2176, allocations: 429.8 kB / 0.9054 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.2176, allocations: 162.2 kB / 0.9055 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.2178, allocations: 174.5 kB / 0.9057 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.2178, allocations: 37.8 kB / 0.9057 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.376e-05/0.2179, allocations: 115.9 kB / 0.9058 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.2179, allocations: 35.64 kB / 0.9059 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.298e-06/0.2179, allocations: 0 / 0.9059 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.005e-05/0.218, allocations: 330.8 kB / 0.9062 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003785/0.2184, allocations: 127.9 kB / 0.9063 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003803/0.2187, allocations: 172.1 kB / 0.9065 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003816/0.2191, allocations: 123.9 kB / 0.9066 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.2191, allocations: 0 / 0.9066 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008361/0.22, allocations: 337.2 kB / 0.9069 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.22, allocations: 10.97 kB / 0.9069 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.22, allocations: 3.984 kB / 0.9069 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.2201, allocations: 4 kB / 0.9069 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002973/0.2204, allocations: 67.88 kB / 0.907 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.2204, allocations: 0 / 0.907 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002597/0.2206, allocations: 71.72 kB / 0.9071 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.2207, allocations: 4 kB / 0.9071 GB, free: 56.45 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.772e-05/0.2208, allocations: 137.2 kB / 0.9072 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.734e-05/0.2208, allocations: 19.8 kB / 0.9072 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.862e-05/0.2208, allocations: 20.94 kB / 0.9072 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.2209, allocations: 0 / 0.9072 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.2209, allocations: 8 kB / 0.9072 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.2209, allocations: 0 / 0.9072 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.221, allocations: 229.5 kB / 0.9075 GB, free: 55.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-06/0.221, allocations: 4 kB / 0.9075 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002109/0.2213, allocations: 51.95 kB / 0.9075 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.2213, allocations: 4 kB / 0.9075 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.2213, allocations: 7.984 kB / 0.9075 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2213, allocations: 0 / 0.9075 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.2213, allocations: 4 kB / 0.9075 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008053/0.2221, allocations: 356 kB / 0.9079 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.181e-05/0.2222, allocations: 92.95 kB / 0.908 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/0.2222, allocations: 3.938 kB / 0.908 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002537/0.2224, allocations: 59.94 kB / 0.908 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.507e-05/0.2225, allocations: 23.95 kB / 0.908 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.2226, allocations: 8 kB / 0.9081 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.266e-05/0.2226, allocations: 127.2 kB / 0.9082 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2226, allocations: 0 / 0.9082 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002248/0.2229, allocations: 35.89 kB / 0.9082 GB, free: 55.18 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.0009703/0.2238, allocations: 0.8889 MB / 0.9091 GB, free: 54.24 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008149/0.2247, allocations: 276 kB / 0.9093 GB, free: 53.97 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2247, allocations: 192 / 0.9093 GB, free: 53.97 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004571/0.2251, allocations: 168 kB / 0.9095 GB, free: 53.81 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.2255, allocations: 29.41 kB / 0.9095 GB, free: 53.78 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002148/0.2276, allocations: 1.213 MB / 0.9107 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/0.2278, allocations: 0.716 MB / 0.9114 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.933e-05/0.2279, allocations: 20.64 kB / 0.9114 GB, free: 51.73 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.716e-05/0.228, allocations: 43.47 kB / 0.9115 GB, free: 51.69 MB / 0.6042 GB Notification: Performance of SimCode: time 3.41e-07/0.228, allocations: 0 / 0.9115 GB, free: 51.69 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01246/0.2404, allocations: 3.274 MB / 0.9147 GB, free: 48.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001611/0.2406, allocations: 210.4 kB / 0.9149 GB, free: 48.37 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.654/1.895, allocations: 0 / 0.9149 GB, free: 48.37 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1)