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.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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_maint.7.0.x_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_maint.7.0.x_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.006166/0.006167, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001324/0.001324, allocations: 192.2 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.777/1.777, allocations: 205.1 MB / 222.5 MB, free: 4.312 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.675/1.675, allocations: 251.7 MB / 0.5094 GB, free: 3.094 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 68.42 kB / 0.7258 GB, free: 9.07 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2898, allocations: 104.7 MB / 0.828 GB, free: 260 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.003041/0.2929, allocations: 1.656 MB / 0.8296 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0006835/0.2936, allocations: 268.1 kB / 0.8299 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.028e-05/0.2937, allocations: 7.938 kB / 0.8299 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001509/0.2939, allocations: 15.8 kB / 0.8299 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.418e-05/0.294, allocations: 31.72 kB / 0.83 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003285/0.2943, allocations: 63.84 kB / 0.83 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002936/0.2946, allocations: 239.4 kB / 0.8302 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002079/0.2948, allocations: 61.53 kB / 0.8303 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/0.295, allocations: 103.7 kB / 0.8304 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002432/0.2952, allocations: 119.6 kB / 0.8305 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.008e-05/0.2953, allocations: 24 kB / 0.8305 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 3.841e-05/0.2953, allocations: 20 kB / 0.8306 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.716e-05/0.2954, allocations: 63.81 kB / 0.8306 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.2956, allocations: 103.4 kB / 0.8307 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002903/0.2959, allocations: 259.1 kB / 0.831 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2959, allocations: 0 / 0.831 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2959, allocations: 0 / 0.831 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.55e-05/0.2959, allocations: 0 / 0.831 GB, free: 13.23 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001319/0.2972, allocations: 0.5536 MB / 0.8315 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.2973, allocations: 16.03 kB / 0.8315 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.323e-05/0.2974, allocations: 20.73 kB / 0.8315 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000279/0.2976, allocations: 235.9 kB / 0.8318 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.943e-05/0.2977, allocations: 12.38 kB / 0.8318 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.287e-05/0.2977, allocations: 24.31 kB / 0.8318 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007229/0.2985, allocations: 281.5 kB / 0.8321 GB, free: 12 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.2985, allocations: 4.188 kB / 0.8321 GB, free: 12 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.318e-05/0.2985, allocations: 19.91 kB / 0.8321 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.2985, allocations: 4 kB / 0.8321 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008898/0.2994, allocations: 287.7 kB / 0.8324 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001469/0.3009, allocations: 0.6674 MB / 0.833 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00077/0.3017, allocations: 274.3 kB / 0.8333 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005018/0.3022, allocations: 180.7 kB / 0.8335 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.3022, allocations: 0 / 0.8335 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007055/0.303, allocations: 289 kB / 0.8337 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=27): time 2.675e-06/0.303, allocations: 0 / 0.8337 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of matching and sorting (n=27): time 0.001751/0.3047, allocations: 0.6083 MB / 0.8343 GB, free: 9.609 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.031e-05/0.3048, allocations: 59.39 kB / 0.8344 GB, free: 9.539 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/0.305, allocations: 187.8 kB / 0.8346 GB, free: 9.348 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.391e-05/0.3051, allocations: 37.7 kB / 0.8346 GB, free: 9.305 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.3052, allocations: 128.5 kB / 0.8347 GB, free: 9.176 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.477e-05/0.3053, allocations: 75.03 kB / 0.8348 GB, free: 9.102 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.3054, allocations: 57.7 kB / 0.8348 GB, free: 9.039 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.3055, allocations: 330.8 kB / 0.8352 GB, free: 8.707 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004822/0.306, allocations: 171.8 kB / 0.8353 GB, free: 8.539 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004731/0.3065, allocations: 164 kB / 0.8355 GB, free: 8.379 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008664/0.3073, allocations: 320.4 kB / 0.8358 GB, free: 8.062 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.3074, allocations: 0 / 0.8358 GB, free: 8.062 MB / 0.6544 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00107/0.3084, allocations: 425.4 kB / 0.8362 GB, free: 7.641 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.3085, allocations: 4 kB / 0.8362 GB, free: 7.637 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.3085, allocations: 0 / 0.8362 GB, free: 7.637 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.479e-05/0.3085, allocations: 3.938 kB / 0.8362 GB, free: 7.633 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004538/0.309, allocations: 87.81 kB / 0.8363 GB, free: 7.547 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.048e-05/0.309, allocations: 7.984 kB / 0.8363 GB, free: 7.539 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002902/0.3093, allocations: 51.7 kB / 0.8363 GB, free: 7.488 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.574e-05/0.3094, allocations: 11.98 kB / 0.8364 GB, free: 7.477 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 26 (extIndSig1.k[5],extIndSig1.k[4],extIndSig1.k[3],extIndSig1.k[2],extIndSig1.k[1],extIndSig1.index,$PRE.extIndSig1.index,pul1.count,$PRE.pul1.count,pul1.T_start,$PRE.pul1.T_start,pul.count,$PRE.pul.count,pul.T_start,$PRE.pul.T_start,extIndSig.k[5],extIndSig.k[4],extIndSig.k[3],extIndSig.k[2],extIndSig.k[1],extIndSig.index,$PRE.extIndSig.index,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * 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.0001951/0.3096, allocations: 152 kB / 0.8365 GB, free: 7.32 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.369e-05/0.3096, allocations: 19.81 kB / 0.8365 GB, free: 7.301 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.9e-05/0.3097, allocations: 30.48 kB / 0.8365 GB, free: 7.27 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.3097, allocations: 4 kB / 0.8365 GB, free: 7.266 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/0.3097, allocations: 0 / 0.8365 GB, free: 7.266 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.3097, allocations: 0 / 0.8365 GB, free: 7.266 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/0.3113, allocations: 0.8105 MB / 0.8373 GB, free: 6.398 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.3113, allocations: 7.875 kB / 0.8373 GB, free: 6.391 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002493/0.3115, allocations: 47.94 kB / 0.8374 GB, free: 6.344 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.3115, allocations: 0 / 0.8374 GB, free: 6.344 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.62e-05/0.3116, allocations: 11.98 kB / 0.8374 GB, free: 6.332 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.3116, allocations: 4 kB / 0.8374 GB, free: 6.328 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.3116, allocations: 0 / 0.8374 GB, free: 6.328 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001185/0.3128, allocations: 0.5392 MB / 0.8379 GB, free: 5.773 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.244e-05/0.3129, allocations: 104.8 kB / 0.838 GB, free: 5.652 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.229e-05/0.3129, allocations: 4 kB / 0.838 GB, free: 5.648 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002943/0.3132, allocations: 47.88 kB / 0.8381 GB, free: 5.602 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/0.3134, allocations: 43.94 kB / 0.8381 GB, free: 5.559 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.054e-05/0.3135, allocations: 8 kB / 0.8381 GB, free: 5.551 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001241/0.3136, allocations: 143.2 kB / 0.8383 GB, free: 5.41 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3136, allocations: 0 / 0.8383 GB, free: 5.41 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003299/0.3139, allocations: 55.91 kB / 0.8383 GB, free: 5.355 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],pul.T_start,pul.count,pul1.T_start,pul1.count,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 4 (pul1.count,pul.count,extIndSig.index,extIndSig1.index) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0002221/0.3142, allocations: 111.2 kB / 0.8384 GB, free: 5.234 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001205/0.3154, allocations: 404.6 kB / 0.8388 GB, free: 4.84 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/0.3154, allocations: 0 / 0.8388 GB, free: 4.84 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005861/0.316, allocations: 211.8 kB / 0.839 GB, free: 4.633 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004314/0.3164, allocations: 39.89 kB / 0.8391 GB, free: 4.594 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.3176, allocations: 448.3 kB / 0.8395 GB, free: 4.133 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004437/0.3181, allocations: 0.7437 MB / 0.8402 GB, free: 3.363 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001564/0.3183, allocations: 33.94 kB / 0.8402 GB, free: 3.332 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.3184, allocations: 27.42 kB / 0.8403 GB, free: 3.305 MB / 0.6544 GB Notification: Performance of SimCode: time 1.123e-06/0.3184, allocations: 0 / 0.8403 GB, free: 3.305 MB / 0.6544 GB Notification: Performance of Templates: time 0.008222/0.3266, allocations: 3.241 MB / 0.8434 GB, free: 88 kB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1)