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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.343/1.343, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001042/0.001042, allocations: 180 kB / 326.5 MB, free: 2.707 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.842/1.842, allocations: 205 MB / 0.5767 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007257/0.0007257, allocations: 100.2 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004187/0.0004187, allocations: 8.531 kB / 0.7938 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2193, allocations: 105.4 MB / 0.8967 GB, free: 68.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001732/0.2211, allocations: 1.281 MB / 0.898 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000977/0.2221, allocations: 0.6527 MB / 0.8986 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.095e-05/0.2222, allocations: 0 / 0.8986 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001289/0.2223, allocations: 7.922 kB / 0.8986 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.412e-05/0.2224, allocations: 11.88 kB / 0.8986 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003323/0.2227, allocations: 75.84 kB / 0.8987 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.676e-05/0.2228, allocations: 83.77 kB / 0.8988 GB, free: 66.1 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.223, allocations: 28.11 kB / 0.8988 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.2231, allocations: 39.83 kB / 0.8989 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.122e-05/0.2232, allocations: 39.83 kB / 0.8989 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.2232, allocations: 4 kB / 0.8989 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.2233, allocations: 55.89 kB / 0.899 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.4e-05/0.2234, allocations: 19.91 kB / 0.899 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.456e-05/0.2234, allocations: 43.67 kB / 0.899 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.2236, allocations: 127.7 kB / 0.8991 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2236, allocations: 0 / 0.8991 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.785e-06/0.2236, allocations: 0 / 0.8991 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.2236, allocations: 3.938 kB / 0.8991 GB, free: 65.74 MB / 0.6042 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.0006724/0.2243, allocations: 452.8 kB / 0.8996 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.2243, allocations: 8.031 kB / 0.8996 GB, free: 65.24 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.414e-05/0.2244, allocations: 12.75 kB / 0.8996 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.2245, allocations: 193.2 kB / 0.8998 GB, free: 65 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.2246, allocations: 12.36 kB / 0.8998 GB, free: 64.99 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.2246, allocations: 4.375 kB / 0.8998 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002754/0.2249, allocations: 113.9 kB / 0.8999 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.2249, allocations: 0 / 0.8999 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.2249, allocations: 4 kB / 0.8999 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.001e-05/0.2249, allocations: 7.984 kB / 0.8999 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002993/0.2252, allocations: 103.9 kB / 0.9 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005619/0.2258, allocations: 364.6 kB / 0.9004 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002736/0.2261, allocations: 106.5 kB / 0.9005 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.2263, allocations: 64.88 kB / 0.9005 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.2263, allocations: 0 / 0.9005 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002853/0.2266, allocations: 131.3 kB / 0.9007 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.693e-06/0.2266, allocations: 0 / 0.9007 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0005737/0.2272, allocations: 241.4 kB / 0.9009 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.65e-05/0.2272, allocations: 59.41 kB / 0.9009 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.59e-05/0.2273, allocations: 138.8 kB / 0.9011 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.2273, allocations: 29.64 kB / 0.9011 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.307e-05/0.2274, allocations: 100 kB / 0.9012 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.71e-05/0.2274, allocations: 23.94 kB / 0.9012 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.546e-05/0.2274, allocations: 21.7 kB / 0.9012 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.433e-05/0.2275, allocations: 326.8 kB / 0.9015 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/0.2277, allocations: 71.89 kB / 0.9016 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001551/0.2278, allocations: 63.95 kB / 0.9017 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003089/0.2281, allocations: 166.4 kB / 0.9018 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.2281, allocations: 0 / 0.9018 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003871/0.2285, allocations: 227.1 kB / 0.9021 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/0.2286, allocations: 44.2 kB / 0.9021 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.2286, allocations: 0 / 0.9021 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.2286, allocations: 0 / 0.9021 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.2287, allocations: 19.98 kB / 0.9021 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.2288, allocations: 7.984 kB / 0.9021 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.2289, allocations: 19.98 kB / 0.9021 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.2289, allocations: 7.938 kB / 0.9021 GB, free: 62.41 MB / 0.6042 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 7.03e-05/0.229, allocations: 125.7 kB / 0.9023 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.591e-05/0.229, allocations: 11.89 kB / 0.9023 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.009e-05/0.229, allocations: 16.72 kB / 0.9023 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.2291, allocations: 0 / 0.9023 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2291, allocations: 0 / 0.9023 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.621e-05/0.2291, allocations: 85.02 kB / 0.9024 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.2291, allocations: 3.938 kB / 0.9024 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.2293, allocations: 23.97 kB / 0.9024 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.2e-05/0.2293, allocations: 15.98 kB / 0.9024 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000455/0.2298, allocations: 260.8 kB / 0.9027 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003843/0.2302, allocations: 362.5 kB / 0.903 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001672/0.2304, allocations: 67.95 kB / 0.9031 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.927e-05/0.2304, allocations: 113 kB / 0.9032 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of Backend: time 5.31e-07/0.2304, allocations: 192 / 0.9032 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005874/0.231, allocations: 240.2 kB / 0.9034 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0005203/0.2315, allocations: 0.6705 MB / 0.9041 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of Templates: time 0.003557/0.2351, allocations: 1.536 MB / 0.9056 GB, free: 58.81 MB / 0.6042 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)