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.348/1.348, allocations: 249.5 MB / 257 MB, free: 6.918 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00101/0.00101, allocations: 175.3 kB / 316.3 MB, free: 3.254 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.679/1.679, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0008736/0.0008739, allocations: 99.62 kB / 0.6714 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.142e-05/2.113e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2416, allocations: 106.4 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8332/1.075, allocations: 132.1 MB / 1.014 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002524/1.075, allocations: 69.7 kB / 1.014 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006361/1.082, allocations: 2.055 MB / 1.016 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.226e-06/1.082, allocations: 0 / 1.016 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.046e-05/1.082, allocations: 7.938 kB / 1.016 GB, free: 3.492 MB / 0.6355 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.0008508/1.082, allocations: 489.5 kB / 1.017 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/1.083, allocations: 8.031 kB / 1.017 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.636e-05/1.083, allocations: 19.69 kB / 1.017 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/1.083, allocations: 206.4 kB / 1.017 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/1.083, allocations: 4 kB / 1.017 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/1.083, allocations: 7.438 kB / 1.017 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00017/1.083, allocations: 57.23 kB / 1.017 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/1.083, allocations: 143.3 kB / 1.017 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/1.083, allocations: 0 / 1.017 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/1.083, allocations: 3.953 kB / 1.017 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/1.083, allocations: 7.938 kB / 1.017 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/1.085, allocations: 0.7759 MB / 1.018 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/1.085, allocations: 138.8 kB / 1.018 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.925e-05/1.085, allocations: 51.61 kB / 1.018 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/1.085, allocations: 8.172 kB / 1.018 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002291/1.085, allocations: 145.4 kB / 1.018 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 1.683e-06/1.085, allocations: 0 / 1.018 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0002804/1.085, allocations: 127.2 kB / 1.018 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.944e-05/1.085, allocations: 157.9 kB / 1.019 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/1.086, allocations: 152.5 kB / 1.019 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/1.086, allocations: 29.39 kB / 1.019 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.688e-05/1.086, allocations: 118.4 kB / 1.019 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.995e-05/1.086, allocations: 31.08 kB / 1.019 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.085e-05/1.086, allocations: 0 / 1.019 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001335/1.086, allocations: 326.5 kB / 1.019 GB, free: 448 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.638e-05/1.086, allocations: 42.58 kB / 1.019 GB, free: 420 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.085e-05/1.086, allocations: 70.67 kB / 1.019 GB, free: 352 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.99e-05/1.086, allocations: 42.89 kB / 1.019 GB, free: 320 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.086, allocations: 0 / 1.019 GB, free: 320 kB / 0.6355 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002392/1.086, allocations: 142.7 kB / 1.02 GB, free: 196 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/1.087, allocations: 4 kB / 1.02 GB, free: 192 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/1.087, allocations: 4 kB / 1.02 GB, free: 188 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/1.087, allocations: 1.875 kB / 1.02 GB, free: 188 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003204/1.087, allocations: 71.66 kB / 1.02 GB, free: 120 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/1.087, allocations: 7.875 kB / 1.02 GB, free: 112 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000273/1.087, allocations: 51.86 kB / 1.02 GB, free: 60 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/1.087, allocations: 7.984 kB / 1.02 GB, free: 52 kB / 0.6355 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 () * 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 0.0001183/1.087, allocations: 112.7 kB / 1.02 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002073/1.088, allocations: 131.4 kB / 1.02 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/1.088, allocations: 8.094 kB / 1.02 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.892e-05/1.088, allocations: 21 kB / 1.02 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.004e-06/1.088, allocations: 3.984 kB / 1.02 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/1.088, allocations: 4 kB / 1.02 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/1.088, allocations: 3.984 kB / 1.02 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001932/1.088, allocations: 211.8 kB / 1.02 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/1.088, allocations: 0 / 1.02 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002301/1.088, allocations: 55.7 kB / 1.02 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/1.088, allocations: 0 / 1.02 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/1.088, allocations: 5 kB / 1.02 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/1.088, allocations: 7.938 kB / 1.02 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/1.088, allocations: 4 kB / 1.02 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000293/1.088, allocations: 211.8 kB / 1.02 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.558e-05/1.089, allocations: 92.92 kB / 1.021 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.389e-05/1.089, allocations: 3.984 kB / 1.021 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002635/1.089, allocations: 51.95 kB / 1.021 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/1.089, allocations: 38.84 kB / 1.021 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/1.089, allocations: 7.438 kB / 1.021 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001067/1.089, allocations: 118.1 kB / 1.021 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/1.089, allocations: 0 / 1.021 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002556/1.089, allocations: 28 kB / 1.021 GB, free: 14.92 MB / 0.6511 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) * 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.0009146/1.09, allocations: 1.034 MB / 1.022 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002574/1.091, allocations: 91.48 kB / 1.022 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/1.091, allocations: 0 / 1.022 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001634/1.091, allocations: 66.55 kB / 1.022 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/1.091, allocations: 31.42 kB / 1.022 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007523/1.092, allocations: 241 kB / 1.022 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004773/1.092, allocations: 0.7158 MB / 1.023 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000192/1.093, allocations: 24.86 kB / 1.023 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.761e-05/1.093, allocations: 38.36 kB / 1.023 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of SimCode: time 2.61e-07/1.093, allocations: 0 / 1.023 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02531/1.118, allocations: 2.84 MB / 1.026 GB, free: 9.879 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002858/1.118, allocations: 172.2 kB / 1.026 GB, free: 9.68 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.602/2.721, allocations: 0 / 1.026 GB, free: 9.68 MB / 0.6511 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)