Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008733/0.0008732, allocations: 91.3 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007681/0.007681, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.932/2.932, allocations: 473.4 MB / 0.7469 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005283/0.0005287, allocations: 10.41 kB / 0.9158 GB, free: 33.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3822, allocations: 162.2 MB / 1.074 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001255/0.3835, allocations: 0.711 MB / 1.075 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001721/0.3852, allocations: 1.361 MB / 1.076 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.554e-05/0.3853, allocations: 4 kB / 1.076 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001058/0.3854, allocations: 11.86 kB / 1.076 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.272e-05/0.3855, allocations: 31.72 kB / 1.076 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006926/0.3862, allocations: 254.4 kB / 1.076 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003252/0.3865, allocations: 331.3 kB / 1.077 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002446/0.3868, allocations: 69.41 kB / 1.077 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002436/0.3871, allocations: 131.5 kB / 1.077 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003202/0.3874, allocations: 127.5 kB / 1.077 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.905e-05/0.3875, allocations: 12 kB / 1.077 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.707e-05/0.3876, allocations: 27.98 kB / 1.077 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.637e-05/0.3876, allocations: 43.78 kB / 1.077 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001693/0.3878, allocations: 141.1 kB / 1.077 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004338/0.3883, allocations: 359 kB / 1.078 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.3883, allocations: 4 kB / 1.078 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3883, allocations: 0 / 1.078 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.3883, allocations: 0 / 1.078 GB, free: 3.973 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001147/0.3895, allocations: 0.5683 MB / 1.078 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.3895, allocations: 8.031 kB / 1.078 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.3896, allocations: 28.66 kB / 1.078 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/0.391, allocations: 398.8 kB / 1.079 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.66e-05/0.391, allocations: 16.31 kB / 1.079 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.225e-05/0.3911, allocations: 24.36 kB / 1.079 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006136/0.3917, allocations: 215.5 kB / 1.079 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.3918, allocations: 7.938 kB / 1.079 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.422e-05/0.3918, allocations: 4 kB / 1.079 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.3918, allocations: 7.984 kB / 1.079 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000718/0.3925, allocations: 167.8 kB / 1.079 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001734/0.3943, allocations: 0.9225 MB / 1.08 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005142/0.3948, allocations: 161 kB / 1.08 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003616/0.3952, allocations: 92.31 kB / 1.08 GB, free: 1.125 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.3952, allocations: 7.922 kB / 1.08 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005476/0.3958, allocations: 179.5 kB / 1.08 GB, free: 0.9141 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 2.435e-06/0.3958, allocations: 0 / 1.08 GB, free: 0.9141 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.001286/0.3971, allocations: 297.4 kB / 1.081 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.3972, allocations: 158.2 kB / 1.081 GB, free: 436 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003225/0.3975, allocations: 221 kB / 1.081 GB, free: 200 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.596e-05/0.3976, allocations: 33.8 kB / 1.081 GB, free: 160 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.3978, allocations: 156.2 kB / 1.081 GB, free: 0 / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.16e-05/0.3978, allocations: 35.62 kB / 1.081 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.398, allocations: 21.72 kB / 1.081 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000265/0.3983, allocations: 334.8 kB / 1.082 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004734/0.3987, allocations: 111.9 kB / 1.082 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005471/0.3993, allocations: 181 kB / 1.082 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008563/0.4002, allocations: 294.9 kB / 1.082 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.4002, allocations: 0 / 1.082 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00123/0.4014, allocations: 396.7 kB / 1.083 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.366e-05/0.4015, allocations: 67.39 kB / 1.083 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.4015, allocations: 4 kB / 1.083 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/0.4016, allocations: 8 kB / 1.083 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002353/0.4018, allocations: 27.97 kB / 1.083 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.806e-05/0.4018, allocations: 12 kB / 1.083 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006232/0.4025, allocations: 95.77 kB / 1.083 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.193e-05/0.4026, allocations: 19.98 kB / 1.083 GB, free: 14.31 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 2 * 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.0002167/0.4028, allocations: 145.8 kB / 1.083 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.655e-05/0.4028, allocations: 19.8 kB / 1.083 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.607e-05/0.4029, allocations: 25.25 kB / 1.083 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.403, allocations: 4 kB / 1.083 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.403, allocations: 0 / 1.083 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/0.403, allocations: 3.984 kB / 1.083 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004848/0.4035, allocations: 265.3 kB / 1.083 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.4035, allocations: 3.938 kB / 1.083 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/0.4037, allocations: 35.91 kB / 1.083 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.4037, allocations: 0 / 1.083 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.4038, allocations: 12 kB / 1.083 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.4038, allocations: 0 / 1.083 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.827e-06/0.4038, allocations: 7.984 kB / 1.083 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008562/0.4046, allocations: 256.1 kB / 1.083 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.849e-05/0.4047, allocations: 96.81 kB / 1.084 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.58e-05/0.4048, allocations: 11.94 kB / 1.084 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.405, allocations: 23.97 kB / 1.084 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.596e-05/0.4051, allocations: 20.45 kB / 1.084 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.4051, allocations: 4 kB / 1.084 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001987/0.4053, allocations: 160.4 kB / 1.084 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4053, allocations: 0 / 1.084 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004608/0.4058, allocations: 47.94 kB / 1.084 GB, free: 13.08 MB / 0.8419 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 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002329/0.406, allocations: 111.2 kB / 1.084 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001163/0.4072, allocations: 358.7 kB / 1.084 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4072, allocations: 3.938 kB / 1.084 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004194/0.4076, allocations: 96.31 kB / 1.084 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005556/0.4082, allocations: 44.5 kB / 1.084 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.4092, allocations: 464.2 kB / 1.085 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004669/0.4097, allocations: 0.744 MB / 1.086 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002055/0.4099, allocations: 33.53 kB / 1.086 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.433e-05/0.41, allocations: 19.44 kB / 1.086 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of SimCode: time 4.7e-07/0.41, allocations: 3.938 kB / 1.086 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of Templates: time 0.009763/0.4198, allocations: 2.748 MB / 1.088 GB, free: 8.426 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1)