Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.417/2.417, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001322/0.001322, allocations: 186.6 kB / 325.8 MB, free: 2.777 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.561/2.561, allocations: 205.4 MB / 0.5767 GB, free: 20.73 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001039/0.001039, allocations: 86.89 kB / 0.6812 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004703/0.0004706, allocations: 13.22 kB / 0.7953 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2143, allocations: 106.3 MB / 0.899 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001924/0.2163, allocations: 1.262 MB / 0.9003 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009794/0.2173, allocations: 499.9 kB / 0.9007 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.709e-05/0.2174, allocations: 0 / 0.9007 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.516e-05/0.2175, allocations: 7.922 kB / 0.9007 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.492e-05/0.2176, allocations: 15.86 kB / 0.9008 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002612/0.2179, allocations: 39.83 kB / 0.9008 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001397/0.218, allocations: 95.69 kB / 0.9009 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.2182, allocations: 20.22 kB / 0.9009 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.2183, allocations: 47.84 kB / 0.901 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.2184, allocations: 47.8 kB / 0.901 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.052e-05/0.2185, allocations: 4 kB / 0.901 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.341e-05/0.2185, allocations: 4 kB / 0.901 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.834e-05/0.2186, allocations: 15.92 kB / 0.901 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.497e-05/0.2186, allocations: 45.64 kB / 0.9011 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.2188, allocations: 59.88 kB / 0.9011 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.2188, allocations: 0 / 0.9011 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2188, allocations: 0 / 0.9011 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.2188, allocations: 0 / 0.9011 GB, free: 63.23 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0009881/0.2198, allocations: 482.8 kB / 0.9016 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.2199, allocations: 8.031 kB / 0.9016 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.745e-05/0.22, allocations: 16.75 kB / 0.9016 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.2202, allocations: 188.2 kB / 0.9018 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.2202, allocations: 4.359 kB / 0.9018 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.298e-05/0.2203, allocations: 8.375 kB / 0.9018 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000517/0.2208, allocations: 157.9 kB / 0.9019 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.2208, allocations: 0 / 0.9019 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.2208, allocations: 0 / 0.9019 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.954e-06/0.2209, allocations: 4 kB / 0.9019 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006161/0.2215, allocations: 131.9 kB / 0.9021 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008089/0.2223, allocations: 372.5 kB / 0.9024 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005978/0.2229, allocations: 150.5 kB / 0.9026 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003733/0.2233, allocations: 112.8 kB / 0.9027 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/0.2234, allocations: 3.984 kB / 0.9027 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005187/0.2239, allocations: 155.3 kB / 0.9028 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 2.975e-06/0.2239, allocations: 0 / 0.9028 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.001431/0.2253, allocations: 363 kB / 0.9032 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.724e-05/0.2255, allocations: 89.11 kB / 0.9033 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.2256, allocations: 147.2 kB / 0.9034 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.2256, allocations: 29.69 kB / 0.9034 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.868e-05/0.2257, allocations: 96.14 kB / 0.9035 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.835e-05/0.2258, allocations: 31.55 kB / 0.9036 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.497e-05/0.2258, allocations: 4 kB / 0.9036 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.644e-05/0.2259, allocations: 322.8 kB / 0.9039 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003702/0.2262, allocations: 95.94 kB / 0.904 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003631/0.2266, allocations: 91.94 kB / 0.904 GB, free: 60 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004459/0.2271, allocations: 155.3 kB / 0.9042 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2271, allocations: 0 / 0.9042 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000895/0.228, allocations: 310.5 kB / 0.9045 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.575e-05/0.2281, allocations: 71.39 kB / 0.9046 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.2281, allocations: 4 kB / 0.9046 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.2281, allocations: 0 / 0.9046 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002452/0.2284, allocations: 27.97 kB / 0.9046 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.2284, allocations: 0 / 0.9046 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003338/0.2287, allocations: 43.81 kB / 0.9046 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.681e-05/0.2288, allocations: 8.062 kB / 0.9046 GB, free: 59.35 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001458/0.2289, allocations: 159.9 kB / 0.9048 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.368e-05/0.229, allocations: 11.91 kB / 0.9048 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.814e-05/0.229, allocations: 12.72 kB / 0.9048 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.2291, allocations: 11.88 kB / 0.9048 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.2291, allocations: 0 / 0.9048 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2291, allocations: 0 / 0.9048 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.2293, allocations: 209.5 kB / 0.905 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.2293, allocations: 0 / 0.905 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001971/0.2295, allocations: 27.91 kB / 0.9051 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.2295, allocations: 0 / 0.9051 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.2295, allocations: 8 kB / 0.9051 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.2295, allocations: 3.984 kB / 0.9051 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.2296, allocations: 4 kB / 0.9051 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008943/0.2305, allocations: 326.4 kB / 0.9054 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.713e-05/0.2305, allocations: 85.02 kB / 0.9055 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.941e-05/0.2306, allocations: 4 kB / 0.9055 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003338/0.2309, allocations: 31.95 kB / 0.9055 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/0.2311, allocations: 27.97 kB / 0.9055 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.149e-05/0.2311, allocations: 8 kB / 0.9055 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.414e-05/0.2312, allocations: 105.5 kB / 0.9056 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2312, allocations: 0 / 0.9056 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002809/0.2315, allocations: 27.94 kB / 0.9057 GB, free: 58.2 MB / 0.6042 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: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001163/0.2316, allocations: 103.2 kB / 0.9058 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009271/0.2325, allocations: 362.6 kB / 0.9061 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.2326, allocations: 0 / 0.9061 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004751/0.233, allocations: 207.3 kB / 0.9063 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.2334, allocations: 11.98 kB / 0.9063 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008275/0.2342, allocations: 339.2 kB / 0.9066 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001521/0.2344, allocations: 0.7004 MB / 0.9073 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001132/0.2345, allocations: 19.97 kB / 0.9073 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.788e-05/0.2346, allocations: 11.44 kB / 0.9073 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of SimCode: time 1.002e-06/0.2346, allocations: 192 / 0.9073 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of Templates: time 0.005197/0.2398, allocations: 1.483 MB / 0.9088 GB, free: 54.89 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_7.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_7.0.0_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)