Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.136/2.136, allocations: 251.1 MB / 266.7 MB, free: 11.64 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.001321/0.001321, allocations: 170.3 kB / 326.2 MB, free: 2.859 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.472/2.472, allocations: 205.4 MB / 0.5772 GB, free: 20.75 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.001003/0.001002, allocations: 99.53 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005244/0.0005246, allocations: 12.41 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.2152, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3131/0.5284, allocations: 131.7 MB / 1.028 GB, free: 13.68 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003967/0.5288, allocations: 75.94 kB / 1.028 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01618/0.545, allocations: 2.061 MB / 1.03 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.637e-06/0.5451, allocations: 4 kB / 1.03 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.065e-05/0.5452, allocations: 4 kB / 1.03 GB, free: 11.54 MB / 0.6823 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.003105/0.5483, allocations: 0.5026 MB / 1.031 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001201/0.5484, allocations: 12.03 kB / 1.031 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002492/0.5487, allocations: 12.75 kB / 1.031 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007909/0.5496, allocations: 220.2 kB / 1.031 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.933e-05/0.5496, allocations: 4.375 kB / 1.031 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.701e-05/0.5498, allocations: 16.38 kB / 1.031 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.5509, allocations: 240.2 kB / 1.031 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.551, allocations: 192 / 1.031 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.151e-05/0.551, allocations: 7.938 kB / 1.031 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.5511, allocations: 4 kB / 1.031 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001559/0.5526, allocations: 247.7 kB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002627/0.5553, allocations: 0.8174 MB / 1.032 GB, free: 9.293 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001997/0.5574, allocations: 270.4 kB / 1.032 GB, free: 8.984 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001403/0.5588, allocations: 144.3 kB / 1.033 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.305e-05/0.559, allocations: 4 kB / 1.033 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001841/0.5608, allocations: 235.4 kB / 1.033 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=11): time 5.961e-06/0.5609, allocations: 0 / 1.033 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.004122/0.565, allocations: 433.4 kB / 1.033 GB, free: 8.137 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001524/0.5653, allocations: 166.1 kB / 1.033 GB, free: 7.938 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004201/0.5657, allocations: 174.8 kB / 1.034 GB, free: 7.754 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.578e-05/0.5658, allocations: 33.69 kB / 1.034 GB, free: 7.715 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.566, allocations: 119.9 kB / 1.034 GB, free: 7.594 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.8e-05/0.5661, allocations: 27.66 kB / 1.034 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.571e-05/0.5662, allocations: 0 / 1.034 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002111/0.5664, allocations: 330.8 kB / 1.034 GB, free: 7.234 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001136/0.5676, allocations: 127.9 kB / 1.034 GB, free: 7.109 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001193/0.5688, allocations: 168.2 kB / 1.034 GB, free: 6.93 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008113/0.5696, allocations: 131.8 kB / 1.034 GB, free: 6.801 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.5697, allocations: 4 kB / 1.034 GB, free: 6.797 MB / 0.6823 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001839/0.5715, allocations: 333.3 kB / 1.035 GB, free: 6.465 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.995e-05/0.5716, allocations: 4 kB / 1.035 GB, free: 6.461 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.5716, allocations: 0 / 1.035 GB, free: 6.461 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.5716, allocations: 4 kB / 1.035 GB, free: 6.457 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005927/0.5722, allocations: 67.91 kB / 1.035 GB, free: 6.391 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.541e-05/0.5723, allocations: 7.938 kB / 1.035 GB, free: 6.383 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005476/0.5728, allocations: 59.8 kB / 1.035 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.362e-05/0.5729, allocations: 8 kB / 1.035 GB, free: 6.316 MB / 0.6823 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 0.0002147/0.5731, allocations: 130.8 kB / 1.035 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.355e-05/0.5732, allocations: 19.81 kB / 1.035 GB, free: 6.16 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.65e-05/0.5732, allocations: 21.3 kB / 1.035 GB, free: 6.137 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.5733, allocations: 4 kB / 1.035 GB, free: 6.133 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.5733, allocations: 7.938 kB / 1.035 GB, free: 6.125 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.5733, allocations: 0 / 1.035 GB, free: 6.125 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003258/0.5736, allocations: 233.5 kB / 1.035 GB, free: 5.848 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.5737, allocations: 3.938 kB / 1.035 GB, free: 5.844 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004506/0.5741, allocations: 55.95 kB / 1.035 GB, free: 5.789 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.818e-06/0.5741, allocations: 4 kB / 1.035 GB, free: 5.785 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.5742, allocations: 0 / 1.035 GB, free: 5.785 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.659e-06/0.5742, allocations: 7.984 kB / 1.035 GB, free: 5.777 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.5742, allocations: 3.938 kB / 1.035 GB, free: 5.773 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001769/0.576, allocations: 356 kB / 1.036 GB, free: 5.395 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.448e-05/0.5761, allocations: 92.94 kB / 1.036 GB, free: 5.285 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.092e-05/0.5762, allocations: 4 kB / 1.036 GB, free: 5.281 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005128/0.5767, allocations: 51.95 kB / 1.036 GB, free: 5.23 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/0.5769, allocations: 35.88 kB / 1.036 GB, free: 5.195 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.642e-05/0.5769, allocations: 12 kB / 1.036 GB, free: 5.184 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001621/0.5771, allocations: 123.2 kB / 1.036 GB, free: 5.062 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.454e-06/0.5771, allocations: 0 / 1.036 GB, free: 5.062 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003707/0.5775, allocations: 43.84 kB / 1.036 GB, free: 5.02 MB / 0.6823 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.0001946/0.5777, allocations: 103.2 kB / 1.036 GB, free: 4.906 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001742/0.5795, allocations: 279.7 kB / 1.036 GB, free: 4.633 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.5795, allocations: 192 / 1.036 GB, free: 4.633 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009709/0.5805, allocations: 164 kB / 1.037 GB, free: 4.473 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004792/0.581, allocations: 25.55 kB / 1.037 GB, free: 4.449 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.5821, allocations: 331.5 kB / 1.037 GB, free: 4.09 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003942/0.5825, allocations: 0.716 MB / 1.038 GB, free: 3.348 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002067/0.5828, allocations: 24.86 kB / 1.038 GB, free: 3.32 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.5829, allocations: 15.44 kB / 1.038 GB, free: 3.305 MB / 0.6823 GB Notification: Performance of SimCode: time 1.263e-06/0.5829, allocations: 0 / 1.038 GB, free: 3.305 MB / 0.6823 GB Notification: Performance of Templates: time 0.00698/0.5899, allocations: 1.803 MB / 1.039 GB, free: 1.52 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1)