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.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 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.RealExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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.01107/0.01107, allocations: 100.2 kB / 15.73 MB, free: 6.027 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.002079/0.00208, allocations: 186.9 kB / 16.67 MB, free: 5.965 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.868/1.868, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.693/1.693, allocations: 251.7 MB / 0.5094 GB, free: 3.059 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.001474/0.001474, allocations: 71.91 kB / 0.7258 GB, free: 9.062 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3104, allocations: 104.7 MB / 0.828 GB, free: 256 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.003194/0.3136, allocations: 1.57 MB / 0.8296 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.000589/0.3142, allocations: 220.2 kB / 0.8298 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.6e-05/0.3143, allocations: 0 / 0.8298 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000141/0.3145, allocations: 11.81 kB / 0.8298 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.971e-05/0.3146, allocations: 35.72 kB / 0.8298 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.3149, allocations: 43.94 kB / 0.8299 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002267/0.3151, allocations: 171.5 kB / 0.83 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.3153, allocations: 29.45 kB / 0.83 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.3154, allocations: 71.75 kB / 0.8301 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.3155, allocations: 67.73 kB / 0.8302 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.426e-05/0.3155, allocations: 16 kB / 0.8302 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 2.434e-05/0.3156, allocations: 12 kB / 0.8302 GB, free: 14 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.524e-05/0.3156, allocations: 43.83 kB / 0.8302 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.975e-05/0.3157, allocations: 67.59 kB / 0.8303 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002197/0.316, allocations: 159.4 kB / 0.8305 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.316, allocations: 4 kB / 0.8305 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.924e-06/0.316, allocations: 0 / 0.8305 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.316, allocations: 0 / 0.8305 GB, free: 13.73 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001067/0.3171, allocations: 0.4908 MB / 0.8309 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.3171, allocations: 8.031 kB / 0.831 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.937e-05/0.3172, allocations: 20.75 kB / 0.831 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000269/0.3175, allocations: 220 kB / 0.8312 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.3175, allocations: 8.375 kB / 0.8312 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.3175, allocations: 4.375 kB / 0.8312 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005969/0.3181, allocations: 216.7 kB / 0.8314 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.3182, allocations: 4.125 kB / 0.8314 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.549e-05/0.3182, allocations: 3.938 kB / 0.8314 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.208e-06/0.3182, allocations: 4 kB / 0.8314 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007206/0.3189, allocations: 195.7 kB / 0.8316 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.3202, allocations: 0.7784 MB / 0.8324 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005939/0.3208, allocations: 228.9 kB / 0.8326 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003658/0.3212, allocations: 128.2 kB / 0.8327 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.3212, allocations: 3.984 kB / 0.8327 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006041/0.3218, allocations: 211.4 kB / 0.8329 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 1.953e-06/0.3218, allocations: 4 kB / 0.8329 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.001226/0.3231, allocations: 345.2 kB / 0.8332 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.445e-05/0.3232, allocations: 170.1 kB / 0.8334 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.3233, allocations: 170.8 kB / 0.8336 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.3234, allocations: 33.7 kB / 0.8336 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.654e-05/0.3235, allocations: 128 kB / 0.8337 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.3235, allocations: 23.66 kB / 0.8337 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.354e-05/0.3236, allocations: 33.7 kB / 0.8338 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.3237, allocations: 322.8 kB / 0.8341 GB, free: 9.684 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003691/0.3241, allocations: 111.8 kB / 0.8342 GB, free: 9.574 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003768/0.3245, allocations: 143 kB / 0.8343 GB, free: 9.422 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006543/0.3252, allocations: 228 kB / 0.8345 GB, free: 9.184 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.305e-06/0.3252, allocations: 4 kB / 0.8345 GB, free: 9.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007945/0.326, allocations: 273.2 kB / 0.8348 GB, free: 8.906 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.326, allocations: 8 kB / 0.8348 GB, free: 8.898 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.326, allocations: 0 / 0.8348 GB, free: 8.898 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.3261, allocations: 4 kB / 0.8348 GB, free: 8.895 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002933/0.3264, allocations: 51.94 kB / 0.8349 GB, free: 8.844 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.3264, allocations: 7.875 kB / 0.8349 GB, free: 8.836 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002509/0.3266, allocations: 51.88 kB / 0.8349 GB, free: 8.785 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.874e-05/0.3267, allocations: 4 kB / 0.8349 GB, free: 8.781 MB / 0.6544 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 (pul.count,$PRE.pul.count,pul.T_start,$PRE.pul.T_start,$whenCondition2,pul1.count,$PRE.pul1.count,pul1.T_start,$PRE.pul1.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001243/0.3268, allocations: 129.8 kB / 0.8351 GB, free: 8.645 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/0.3268, allocations: 11.81 kB / 0.8351 GB, free: 8.633 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.104e-05/0.3269, allocations: 20.94 kB / 0.8351 GB, free: 8.609 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.3269, allocations: 0 / 0.8351 GB, free: 8.609 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.3269, allocations: 7.938 kB / 0.8351 GB, free: 8.602 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3269, allocations: 3.984 kB / 0.8351 GB, free: 8.598 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002152/0.3272, allocations: 229.6 kB / 0.8353 GB, free: 8.324 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3272, allocations: 0 / 0.8353 GB, free: 8.324 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/0.3274, allocations: 47.88 kB / 0.8354 GB, free: 8.277 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3274, allocations: 0 / 0.8354 GB, free: 8.277 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.3274, allocations: 8 kB / 0.8354 GB, free: 8.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.3274, allocations: 0 / 0.8354 GB, free: 8.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3274, allocations: 7.875 kB / 0.8354 GB, free: 8.262 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000805/0.3282, allocations: 300.1 kB / 0.8357 GB, free: 7.938 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.286e-05/0.3283, allocations: 92.92 kB / 0.8357 GB, free: 7.828 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.159e-05/0.3283, allocations: 4 kB / 0.8358 GB, free: 7.824 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.3286, allocations: 39.88 kB / 0.8358 GB, free: 7.785 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.3287, allocations: 39.91 kB / 0.8358 GB, free: 7.746 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.3287, allocations: 4 kB / 0.8358 GB, free: 7.742 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.46e-05/0.3288, allocations: 123.2 kB / 0.836 GB, free: 7.621 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3288, allocations: 0 / 0.836 GB, free: 7.621 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002529/0.3291, allocations: 35.94 kB / 0.836 GB, free: 7.586 MB / 0.6544 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 (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.0001533/0.3292, allocations: 107.2 kB / 0.8361 GB, free: 7.469 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008294/0.3301, allocations: 227.7 kB / 0.8363 GB, free: 7.246 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.3301, allocations: 3.938 kB / 0.8363 GB, free: 7.242 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004542/0.3306, allocations: 132 kB / 0.8364 GB, free: 7.113 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.3309, allocations: 28.53 kB / 0.8365 GB, free: 7.086 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007588/0.3316, allocations: 303.2 kB / 0.8368 GB, free: 6.754 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/0.332, allocations: 0.7119 MB / 0.8374 GB, free: 6.016 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 9.86e-05/0.3321, allocations: 28.61 kB / 0.8375 GB, free: 5.988 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/0.3322, allocations: 19.44 kB / 0.8375 GB, free: 5.969 MB / 0.6544 GB Notification: Performance of SimCode: time 6.01e-07/0.3322, allocations: 0 / 0.8375 GB, free: 5.969 MB / 0.6544 GB Notification: Performance of Templates: time 0.005773/0.338, allocations: 2.24 MB / 0.8397 GB, free: 3.754 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1)