Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001832/0.001832, allocations: 196.4 kB / 16.14 MB, free: 6.688 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.58/1.58, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.983/2.983, allocations: 472.6 MB / 0.7447 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 63.78 kB / 0.9114 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3709, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.003741/0.3748, allocations: 1.383 MB / 1.069 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002575/0.3774, allocations: 1.634 MB / 1.07 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001337/0.3775, allocations: 0 / 1.07 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002128/0.3777, allocations: 23.73 kB / 1.07 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001481/0.3779, allocations: 47.62 kB / 1.071 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.3791, allocations: 468.3 kB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006413/0.3798, allocations: 0.5661 MB / 1.072 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004254/0.3802, allocations: 165.2 kB / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000259/0.3805, allocations: 215.3 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002634/0.3808, allocations: 199.2 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.096e-05/0.3808, allocations: 32 kB / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000165/0.381, allocations: 43.98 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.3811, allocations: 79.62 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002698/0.3814, allocations: 207 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007297/0.3821, allocations: 0.6425 MB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/0.3822, allocations: 4 kB / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3822, allocations: 4 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.3822, allocations: 0 / 1.073 GB, free: 5.188 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001462/0.3837, allocations: 0.9427 MB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.3837, allocations: 8.031 kB / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001549/0.3839, allocations: 56.47 kB / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/0.3853, allocations: 467.9 kB / 1.074 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.183e-05/0.3853, allocations: 28.94 kB / 1.075 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.841e-05/0.3854, allocations: 40.38 kB / 1.075 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006667/0.3861, allocations: 325.3 kB / 1.075 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.3861, allocations: 3.938 kB / 1.075 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.202e-05/0.3861, allocations: 12 kB / 1.075 GB, free: 3.172 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.3862, allocations: 7.938 kB / 1.075 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006552/0.3868, allocations: 250.1 kB / 1.075 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001646/0.3885, allocations: 0.9313 MB / 1.076 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006573/0.3891, allocations: 386.4 kB / 1.076 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004891/0.3896, allocations: 278.9 kB / 1.077 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.3897, allocations: 8 kB / 1.077 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000585/0.3903, allocations: 323 kB / 1.077 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=44): time 2.354e-06/0.3903, allocations: 0 / 1.077 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44): time 0.001561/0.3918, allocations: 0.8343 MB / 1.078 GB, free: 72 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/0.392, allocations: 187.9 kB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000304/0.3923, allocations: 292.5 kB / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.061e-05/0.3924, allocations: 45.7 kB / 1.078 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.3925, allocations: 164.8 kB / 1.078 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.3926, allocations: 130.2 kB / 1.079 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002174/0.3929, allocations: 134.1 kB / 1.079 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001778/0.393, allocations: 350.8 kB / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005811/0.3936, allocations: 288.7 kB / 1.079 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006506/0.3943, allocations: 353.8 kB / 1.08 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/0.3955, allocations: 0.909 MB / 1.081 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.3955, allocations: 3.938 kB / 1.081 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001708/0.3973, allocations: 0.9936 MB / 1.082 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001967/0.3975, allocations: 263.2 kB / 1.082 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.3975, allocations: 7.938 kB / 1.082 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/0.3975, allocations: 4 kB / 1.082 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002876/0.3978, allocations: 68.17 kB / 1.082 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.3978, allocations: 4 kB / 1.082 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007478/0.3986, allocations: 147.4 kB / 1.082 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/0.3987, allocations: 67.92 kB / 1.082 GB, free: 11.37 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * 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.0003411/0.3991, allocations: 321.3 kB / 1.082 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.853e-05/0.3991, allocations: 39.61 kB / 1.082 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.504e-05/0.3992, allocations: 43.48 kB / 1.082 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.3992, allocations: 8 kB / 1.082 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.3992, allocations: 0 / 1.082 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.3993, allocations: 0 / 1.082 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001781/0.401, allocations: 1.198 MB / 1.084 GB, free: 9.641 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.4011, allocations: 0 / 1.084 GB, free: 9.641 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002309/0.4013, allocations: 63.89 kB / 1.084 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.4013, allocations: 4 kB / 1.084 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.004e-05/0.4013, allocations: 11.98 kB / 1.084 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.4013, allocations: 4 kB / 1.084 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.4014, allocations: 3.938 kB / 1.084 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.4025, allocations: 0.7612 MB / 1.084 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.455e-05/0.4026, allocations: 116.6 kB / 1.085 GB, free: 8.613 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.313e-05/0.4026, allocations: 12 kB / 1.085 GB, free: 8.602 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.4028, allocations: 27.97 kB / 1.085 GB, free: 8.574 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.403, allocations: 39.89 kB / 1.085 GB, free: 8.535 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.651e-05/0.403, allocations: 51.92 kB / 1.085 GB, free: 8.484 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002069/0.4033, allocations: 207 kB / 1.085 GB, free: 8.285 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4033, allocations: 0 / 1.085 GB, free: 8.285 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004293/0.4037, allocations: 103.9 kB / 1.085 GB, free: 8.184 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 4 * 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.0002433/0.404, allocations: 119.2 kB / 1.085 GB, free: 8.059 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001565/0.4055, allocations: 1.124 MB / 1.086 GB, free: 6.824 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.4055, allocations: 0 / 1.086 GB, free: 6.824 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006384/0.4062, allocations: 0.5208 MB / 1.087 GB, free: 6.242 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005481/0.4067, allocations: 72.61 kB / 1.087 GB, free: 6.172 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.4082, allocations: 0.9166 MB / 1.088 GB, free: 5.227 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004256/0.4087, allocations: 0.7927 MB / 1.088 GB, free: 4.406 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002662/0.4089, allocations: 95.19 kB / 1.089 GB, free: 4.309 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.614e-05/0.409, allocations: 31.44 kB / 1.089 GB, free: 4.277 MB / 0.8419 GB Notification: Performance of SimCode: time 5.41e-07/0.409, allocations: 0 / 1.089 GB, free: 4.277 MB / 0.8419 GB Notification: Performance of Templates: time 0.01271/0.4217, allocations: 6.105 MB / 1.095 GB, free: 14.24 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1)