Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.717/1.717, allocations: 292.3 MB / 308.1 MB, free: 4.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001782/0.001782, allocations: 184.4 kB / 376.9 MB, free: 1.809 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.807/1.807, allocations: 205.1 MB / 0.6354 GB, free: 9.785 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001033/0.001033, allocations: 98.23 kB / 0.7479 GB, free: 61.19 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 43.92 kB / 0.8703 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2202, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002968/0.2233, allocations: 1.621 MB / 0.9838 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.2244, allocations: 0.6282 MB / 0.9844 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.081e-05/0.2245, allocations: 0 / 0.9844 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.2246, allocations: 11.94 kB / 0.9844 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.888e-05/0.2247, allocations: 19.78 kB / 0.9844 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000368/0.2251, allocations: 67.92 kB / 0.9845 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.2253, allocations: 91.64 kB / 0.9846 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.2254, allocations: 20.22 kB / 0.9846 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.2255, allocations: 47.83 kB / 0.9847 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.001e-05/0.2256, allocations: 35.84 kB / 0.9847 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.2257, allocations: 4 kB / 0.9847 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.2258, allocations: 59.95 kB / 0.9847 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.053e-05/0.2259, allocations: 15.92 kB / 0.9848 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.857e-05/0.2259, allocations: 47.64 kB / 0.9848 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.2261, allocations: 127.9 kB / 0.9849 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.2261, allocations: 3.938 kB / 0.9849 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.41e-07/0.2261, allocations: 4 kB / 0.9849 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.2261, allocations: 0 / 0.9849 GB, free: 7.566 MB / 0.7136 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.0008189/0.227, allocations: 456.7 kB / 0.9854 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.227, allocations: 12.03 kB / 0.9854 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.956e-05/0.2271, allocations: 8.844 kB / 0.9854 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.2273, allocations: 196.1 kB / 0.9856 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.2273, allocations: 4.375 kB / 0.9856 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.2273, allocations: 4.375 kB / 0.9856 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003033/0.2276, allocations: 117.8 kB / 0.9857 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.2277, allocations: 0 / 0.9857 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.2277, allocations: 0 / 0.9857 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.388e-05/0.2277, allocations: 4 kB / 0.9857 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003238/0.228, allocations: 91.91 kB / 0.9858 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006277/0.2287, allocations: 344.7 kB / 0.9861 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000298/0.229, allocations: 90.5 kB / 0.9862 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.2292, allocations: 60.88 kB / 0.9863 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.2292, allocations: 4 kB / 0.9863 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003179/0.2295, allocations: 115.2 kB / 0.9864 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.713e-06/0.2295, allocations: 0 / 0.9864 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0006116/0.2301, allocations: 213.5 kB / 0.9866 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.2302, allocations: 55.34 kB / 0.9866 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.2303, allocations: 144 kB / 0.9868 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.2303, allocations: 29.7 kB / 0.9868 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.829e-05/0.2304, allocations: 108 kB / 0.9869 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.2304, allocations: 19.72 kB / 0.9869 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.271e-05/0.2305, allocations: 29.7 kB / 0.987 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.2306, allocations: 322.8 kB / 0.9873 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.2308, allocations: 55.95 kB / 0.9873 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.231, allocations: 55.95 kB / 0.9874 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003709/0.2313, allocations: 146.5 kB / 0.9875 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2314, allocations: 0 / 0.9875 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004375/0.2318, allocations: 199.1 kB / 0.9877 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.2318, allocations: 37.7 kB / 0.9877 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.2319, allocations: 0 / 0.9877 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.2319, allocations: 0 / 0.9877 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.232, allocations: 23.97 kB / 0.9878 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.232, allocations: 3.938 kB / 0.9878 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.2322, allocations: 27.83 kB / 0.9878 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.2322, allocations: 0 / 0.9878 GB, free: 4.398 MB / 0.7136 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 0.0001045/0.2323, allocations: 133.7 kB / 0.9879 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.142e-05/0.2323, allocations: 7.906 kB / 0.9879 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.256e-05/0.2324, allocations: 16.72 kB / 0.9879 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.2324, allocations: 8 kB / 0.9879 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.2324, allocations: 480 / 0.9879 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.2324, allocations: 3.984 kB / 0.9879 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.2326, allocations: 193.5 kB / 0.9881 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2326, allocations: 4 kB / 0.9881 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.2327, allocations: 15.97 kB / 0.9882 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.2327, allocations: 7.938 kB / 0.9882 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.2327, allocations: 0 / 0.9882 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.2327, allocations: 0 / 0.9882 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.2327, allocations: 0 / 0.9882 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007952/0.2335, allocations: 0.7955 MB / 0.9889 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.899e-05/0.2336, allocations: 89.02 kB / 0.989 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.2336, allocations: 7.938 kB / 0.989 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.2337, allocations: 15.97 kB / 0.989 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.433e-05/0.2338, allocations: 15.98 kB / 0.9891 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.659e-06/0.2338, allocations: 0 / 0.9891 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.405e-05/0.2339, allocations: 109.1 kB / 0.9892 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2339, allocations: 0 / 0.9892 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003441/0.2343, allocations: 43.92 kB / 0.9892 GB, free: 2.805 MB / 0.7136 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.0001821/0.2344, allocations: 127.2 kB / 0.9893 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004449/0.2349, allocations: 175.3 kB / 0.9895 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2349, allocations: 0 / 0.9895 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002035/0.2351, allocations: 67.89 kB / 0.9896 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000191/0.2353, allocations: 10.48 kB / 0.9896 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005648/0.2359, allocations: 388.3 kB / 0.9899 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.2362, allocations: 0.7043 MB / 0.9906 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.324e-05/0.2362, allocations: 11.98 kB / 0.9906 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.937e-05/0.2363, allocations: 11.44 kB / 0.9906 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of SimCode: time 3.1e-07/0.2363, allocations: 0 / 0.9906 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of Templates: time 0.003522/0.2398, allocations: 1.32 MB / 0.9919 GB, free: 15.92 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)