Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.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.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005134/0.005134, allocations: 101.8 kB / 15.73 MB, free: 6.5 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.001148/0.001148, allocations: 199.9 kB / 16.68 MB, free: 6.375 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.393/1.393, 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.614/1.614, allocations: 251.7 MB / 0.5094 GB, free: 3.016 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.002852/0.002852, allocations: 64.27 kB / 0.7257 GB, free: 9.035 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.214, allocations: 104.7 MB / 0.828 GB, free: 224 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002686/0.2167, allocations: 1.56 MB / 0.8295 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001168/0.2179, allocations: 0.624 MB / 0.8301 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.186e-05/0.218, allocations: 4 kB / 0.8301 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001156/0.2182, allocations: 11.86 kB / 0.8302 GB, free: 14 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.711e-05/0.2182, allocations: 15.86 kB / 0.8302 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004595/0.2187, allocations: 91.7 kB / 0.8303 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.2189, allocations: 99.69 kB / 0.8304 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.219, allocations: 24.22 kB / 0.8304 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.2192, allocations: 47.83 kB / 0.8304 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.2193, allocations: 43.77 kB / 0.8305 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.598e-05/0.2193, allocations: 8 kB / 0.8305 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001607/0.2195, allocations: 91.84 kB / 0.8306 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.035e-05/0.2196, allocations: 19.92 kB / 0.8306 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.222e-05/0.2196, allocations: 43.78 kB / 0.8306 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002438/0.2199, allocations: 135.5 kB / 0.8308 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2199, allocations: 0 / 0.8308 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2199, allocations: 0 / 0.8308 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.2199, allocations: 4 kB / 0.8308 GB, free: 13.38 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008448/0.2208, allocations: 455 kB / 0.8312 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.2208, allocations: 12.03 kB / 0.8312 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.193e-05/0.2209, allocations: 12.84 kB / 0.8312 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.2211, allocations: 196.1 kB / 0.8314 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.2211, allocations: 8.359 kB / 0.8314 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.2211, allocations: 4.375 kB / 0.8314 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003182/0.2215, allocations: 117.8 kB / 0.8315 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.2215, allocations: 0 / 0.8315 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.2215, allocations: 0 / 0.8315 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.3e-05/0.2215, allocations: 4 kB / 0.8315 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003148/0.2218, allocations: 91.86 kB / 0.8316 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006097/0.2225, allocations: 344.7 kB / 0.8319 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002977/0.2228, allocations: 90.5 kB / 0.832 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.223, allocations: 64.81 kB / 0.8321 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.223, allocations: 4 kB / 0.8321 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003463/0.2233, allocations: 111.3 kB / 0.8322 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.764e-06/0.2233, allocations: 0 / 0.8322 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0006702/0.224, allocations: 213.5 kB / 0.8324 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.2241, allocations: 51.41 kB / 0.8325 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.2242, allocations: 140.7 kB / 0.8326 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.2242, allocations: 29.7 kB / 0.8326 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.751e-05/0.2243, allocations: 104 kB / 0.8327 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.726e-05/0.2243, allocations: 31.73 kB / 0.8327 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.838e-05/0.2244, allocations: 25.7 kB / 0.8328 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.2245, allocations: 326.8 kB / 0.8331 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000195/0.2247, allocations: 55.95 kB / 0.8331 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000189/0.2249, allocations: 59.95 kB / 0.8332 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003591/0.2253, allocations: 146.4 kB / 0.8333 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2253, allocations: 0 / 0.8333 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004633/0.2258, allocations: 191.3 kB / 0.8335 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.847e-05/0.2258, allocations: 41.69 kB / 0.8336 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2258, allocations: 480 / 0.8336 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.2259, allocations: 0 / 0.8336 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.226, allocations: 19.92 kB / 0.8336 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.226, allocations: 4 kB / 0.8336 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.2262, allocations: 19.97 kB / 0.8336 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.2262, allocations: 7.922 kB / 0.8336 GB, free: 10.21 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: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 1 * Algorithm blocks: 1 * 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 8.948e-05/0.2263, allocations: 121.8 kB / 0.8337 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.2263, allocations: 15.91 kB / 0.8337 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.41e-05/0.2264, allocations: 16.7 kB / 0.8338 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.2264, allocations: 4 kB / 0.8338 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2264, allocations: 0 / 0.8338 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2264, allocations: 4 kB / 0.8338 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/0.2266, allocations: 193.5 kB / 0.8339 GB, free: 9.809 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2266, allocations: 4 kB / 0.8339 GB, free: 9.805 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.2267, allocations: 11.98 kB / 0.834 GB, free: 9.793 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2267, allocations: 0 / 0.834 GB, free: 9.793 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.2267, allocations: 11.98 kB / 0.834 GB, free: 9.781 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2267, allocations: 0 / 0.834 GB, free: 9.781 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.2267, allocations: 0 / 0.834 GB, free: 9.781 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000442/0.2272, allocations: 188.9 kB / 0.8342 GB, free: 9.578 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.47e-05/0.2273, allocations: 92.95 kB / 0.8342 GB, free: 9.469 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.2273, allocations: 0 / 0.8342 GB, free: 9.469 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.2274, allocations: 11.98 kB / 0.8343 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.658e-05/0.2275, allocations: 23.91 kB / 0.8343 GB, free: 9.434 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.2275, allocations: 3.984 kB / 0.8343 GB, free: 9.43 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.638e-05/0.2276, allocations: 107.3 kB / 0.8344 GB, free: 9.324 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2276, allocations: 0 / 0.8344 GB, free: 9.324 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002457/0.2278, allocations: 39.94 kB / 0.8344 GB, free: 9.285 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: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * 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.0001728/0.228, allocations: 123.1 kB / 0.8345 GB, free: 9.156 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004629/0.2285, allocations: 179.5 kB / 0.8347 GB, free: 8.969 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2285, allocations: 4 kB / 0.8347 GB, free: 8.965 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002077/0.2287, allocations: 71.88 kB / 0.8348 GB, free: 8.895 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.2289, allocations: 12.23 kB / 0.8348 GB, free: 8.883 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005072/0.2294, allocations: 235.3 kB / 0.835 GB, free: 8.625 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.2297, allocations: 0.708 MB / 0.8357 GB, free: 7.891 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.494e-05/0.2298, allocations: 15.97 kB / 0.8357 GB, free: 7.875 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.193e-05/0.2298, allocations: 15.44 kB / 0.8357 GB, free: 7.859 MB / 0.6544 GB Notification: Performance of SimCode: time 2.51e-07/0.2298, allocations: 0 / 0.8357 GB, free: 7.859 MB / 0.6544 GB Notification: Performance of Templates: time 0.003946/0.2338, allocations: 1.418 MB / 0.8371 GB, free: 6.449 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)