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.001377/0.001377, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001373/0.001373, allocations: 193.8 kB / 16.25 MB, free: 6.621 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.434/1.434, allocations: 222.9 MB / 239.9 MB, free: 4.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.931/2.931, allocations: 472.6 MB / 0.7448 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 65.25 kB / 0.9115 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.363, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002575/0.3656, allocations: 1.054 MB / 1.069 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001656/0.3673, allocations: 1.33 MB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.961e-05/0.3674, allocations: 0 / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.3675, allocations: 15.86 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.3676, allocations: 35.72 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008417/0.3685, allocations: 249.5 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004707/0.369, allocations: 395.3 kB / 1.071 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002201/0.3692, allocations: 73.42 kB / 1.071 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002158/0.3694, allocations: 155.6 kB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003063/0.3697, allocations: 151.5 kB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.324e-05/0.3698, allocations: 35.94 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.66e-05/0.3699, allocations: 47.98 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.102e-05/0.37, allocations: 59.81 kB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000149/0.3701, allocations: 135.4 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000366/0.3705, allocations: 383 kB / 1.072 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3705, allocations: 0 / 1.072 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3705, allocations: 0 / 1.072 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.3705, allocations: 4 kB / 1.072 GB, free: 6.68 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.0009397/0.3715, allocations: 0.607 MB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.3715, allocations: 12.03 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.631e-05/0.3716, allocations: 28.66 kB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000944/0.3726, allocations: 374.7 kB / 1.073 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.3726, allocations: 16.38 kB / 1.073 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.508e-05/0.3727, allocations: 20.36 kB / 1.073 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004423/0.3731, allocations: 207.9 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.3731, allocations: 3.938 kB / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.147e-05/0.3732, allocations: 8 kB / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/0.3732, allocations: 4 kB / 1.073 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004526/0.3736, allocations: 143.8 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.3748, allocations: 0.903 MB / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003268/0.3751, allocations: 165 kB / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002273/0.3753, allocations: 72.25 kB / 1.074 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.3754, allocations: 8 kB / 1.074 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004195/0.3758, allocations: 163.5 kB / 1.074 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/0.3758, allocations: 0 / 1.074 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.0008742/0.3767, allocations: 261.1 kB / 1.075 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.46e-05/0.3768, allocations: 166.7 kB / 1.075 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.377, allocations: 221 kB / 1.075 GB, free: 3 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.194e-05/0.3771, allocations: 37.7 kB / 1.075 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.3772, allocations: 148.1 kB / 1.075 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.84e-05/0.3772, allocations: 31.55 kB / 1.075 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.3774, allocations: 57.69 kB / 1.075 GB, free: 2.715 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3775, allocations: 330.8 kB / 1.076 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003142/0.3778, allocations: 103.9 kB / 1.076 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003506/0.3782, allocations: 159.6 kB / 1.076 GB, free: 2.098 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005791/0.3788, allocations: 266.9 kB / 1.076 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3788, allocations: 0 / 1.076 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008882/0.3797, allocations: 372.5 kB / 1.076 GB, free: 1.414 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.069e-05/0.3798, allocations: 64.48 kB / 1.076 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.3798, allocations: 7.938 kB / 1.076 GB, free: 1.332 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.3798, allocations: 3.938 kB / 1.076 GB, free: 1.328 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/0.38, allocations: 36.12 kB / 1.077 GB, free: 1.293 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.38, allocations: 4 kB / 1.077 GB, free: 1.289 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003915/0.3804, allocations: 75.81 kB / 1.077 GB, free: 1.215 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.378e-05/0.3805, allocations: 11.98 kB / 1.077 GB, free: 1.203 MB / 0.8262 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.0001606/0.3806, allocations: 162.5 kB / 1.077 GB, free: 1.035 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.3807, allocations: 15.81 kB / 1.077 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.343e-05/0.3807, allocations: 25.23 kB / 1.077 GB, free: 0.9883 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.3807, allocations: 0 / 1.077 GB, free: 0.9883 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.3808, allocations: 4 kB / 1.077 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3808, allocations: 0 / 1.077 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002603/0.381, allocations: 265.3 kB / 1.077 GB, free: 0.6758 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.381, allocations: 0 / 1.077 GB, free: 0.6758 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.3812, allocations: 27.97 kB / 1.077 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.3812, allocations: 4 kB / 1.077 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.674e-05/0.3812, allocations: 4 kB / 1.077 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.3812, allocations: 3.984 kB / 1.077 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.3812, allocations: 4 kB / 1.077 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005417/0.3818, allocations: 240.1 kB / 1.077 GB, free: 376 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.72e-05/0.3819, allocations: 92.92 kB / 1.077 GB, free: 264 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.3819, allocations: 0 / 1.077 GB, free: 264 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.382, allocations: 23.97 kB / 1.077 GB, free: 240 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.532e-05/0.3821, allocations: 19.98 kB / 1.077 GB, free: 220 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.3821, allocations: 4 kB / 1.077 GB, free: 216 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001249/0.3822, allocations: 160.4 kB / 1.078 GB, free: 60 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3823, allocations: 0 / 1.078 GB, free: 60 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002915/0.3825, allocations: 51.84 kB / 1.078 GB, free: 8 kB / 0.8262 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.0001871/0.3827, allocations: 111.2 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007282/0.3835, allocations: 339 kB / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3835, allocations: 0 / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002696/0.3838, allocations: 88.62 kB / 1.078 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.3841, allocations: 44.52 kB / 1.078 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007332/0.3849, allocations: 463.6 kB / 1.079 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004264/0.3853, allocations: 0.7476 MB / 1.079 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001409/0.3855, allocations: 33.53 kB / 1.079 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.689e-05/0.3855, allocations: 15.44 kB / 1.079 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of SimCode: time 8.62e-07/0.3855, allocations: 4 kB / 1.079 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of Templates: time 0.007101/0.3926, allocations: 2.867 MB / 1.082 GB, free: 11.26 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)