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/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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001511/0.001519, allocations: 100.3 kB / 16.29 MB, free: 6.008 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.001977/0.001976, allocations: 178.6 kB / 17.22 MB, free: 5.617 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.647/1.647, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.75/1.75, allocations: 292.3 MB / 0.5495 GB, free: 17.73 MB / 462.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.00144/0.00144, allocations: 75.02 kB / 0.6722 GB, free: 6.625 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2242, allocations: 114.5 MB / 0.7841 GB, free: 3.965 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002687/0.227, allocations: 1.551 MB / 0.7856 GB, free: 2.395 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009665/0.228, allocations: 0.6203 MB / 0.7862 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.578e-05/0.228, allocations: 4 kB / 0.7862 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 8.513e-05/0.2281, allocations: 3.938 kB / 0.7862 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.984e-05/0.2282, allocations: 23.8 kB / 0.7862 GB, free: 1.734 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003488/0.2285, allocations: 91.77 kB / 0.7863 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000129/0.2287, allocations: 95.64 kB / 0.7864 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.444e-05/0.2288, allocations: 24.2 kB / 0.7864 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.2289, allocations: 47.78 kB / 0.7865 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.072e-05/0.229, allocations: 47.81 kB / 0.7865 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.229, allocations: 4 kB / 0.7865 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001353/0.2292, allocations: 91.86 kB / 0.7866 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.35e-05/0.2292, allocations: 19.91 kB / 0.7866 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.321e-05/0.2293, allocations: 43.73 kB / 0.7867 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.2295, allocations: 139.9 kB / 0.7868 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.116e-06/0.2295, allocations: 7.984 kB / 0.7868 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2295, allocations: 3.938 kB / 0.7868 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.2295, allocations: 3.938 kB / 0.7868 GB, free: 1.125 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.0007384/0.2302, allocations: 444.8 kB / 0.7872 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.2303, allocations: 8.031 kB / 0.7872 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.678e-05/0.2303, allocations: 12.75 kB / 0.7873 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.2305, allocations: 200.1 kB / 0.7874 GB, free: 392 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.2305, allocations: 4.375 kB / 0.7874 GB, free: 388 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.2306, allocations: 4.375 kB / 0.7875 GB, free: 384 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/0.2308, allocations: 109.9 kB / 0.7876 GB, free: 268 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.2309, allocations: 3.984 kB / 0.7876 GB, free: 264 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.2309, allocations: 4 kB / 0.7876 GB, free: 260 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.913e-05/0.2309, allocations: 4 kB / 0.7876 GB, free: 256 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002876/0.2312, allocations: 95.84 kB / 0.7877 GB, free: 160 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4585/0.6897, allocations: 339.6 kB / 0.788 GB, free: 49.33 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000308/0.69, allocations: 92.83 kB / 0.7881 GB, free: 49.3 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.6902, allocations: 58.12 kB / 0.7881 GB, free: 49.3 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.6902, allocations: 3.969 kB / 0.7881 GB, free: 49.3 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003667/0.6906, allocations: 111.5 kB / 0.7882 GB, free: 49.25 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 2.625e-06/0.6906, allocations: 0 / 0.7882 GB, free: 49.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0005768/0.6912, allocations: 212.2 kB / 0.7884 GB, free: 49.22 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.6912, allocations: 59.97 kB / 0.7885 GB, free: 49.16 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.033e-05/0.6913, allocations: 139.2 kB / 0.7886 GB, free: 49.05 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.6914, allocations: 32.45 kB / 0.7887 GB, free: 49.02 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.95e-05/0.6914, allocations: 101.9 kB / 0.7888 GB, free: 48.94 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.226e-05/0.6914, allocations: 25.25 kB / 0.7888 GB, free: 48.94 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.753e-05/0.6915, allocations: 25 kB / 0.7888 GB, free: 48.92 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.507e-05/0.6916, allocations: 326.7 kB / 0.7891 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.6917, allocations: 58.38 kB / 0.7892 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.6919, allocations: 59.11 kB / 0.7892 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002805/0.6922, allocations: 143.5 kB / 0.7894 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.6922, allocations: 2.625 kB / 0.7894 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003701/0.6926, allocations: 195.9 kB / 0.7896 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/0.6926, allocations: 38.06 kB / 0.7896 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.6926, allocations: 3.719 kB / 0.7896 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.6926, allocations: 3.5 kB / 0.7896 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.6928, allocations: 18.98 kB / 0.7896 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.6928, allocations: 0 / 0.7896 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/0.6929, allocations: 23.45 kB / 0.7896 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.6929, allocations: 2.875 kB / 0.7896 GB, free: 48.46 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.24e-05/0.693, allocations: 120.9 kB / 0.7898 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.91e-05/0.6931, allocations: 16.25 kB / 0.7898 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.025e-05/0.6931, allocations: 16.31 kB / 0.7898 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/0.6931, allocations: 4.062 kB / 0.7898 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.6931, allocations: 1.969 kB / 0.7898 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.6931, allocations: 0 / 0.7898 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.6933, allocations: 197.3 kB / 0.79 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.6933, allocations: 2.75 kB / 0.79 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.964e-05/0.6934, allocations: 17.81 kB / 0.79 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.6934, allocations: 5.922 kB / 0.79 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.6934, allocations: 3.844 kB / 0.79 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.6934, allocations: 0 / 0.79 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.6935, allocations: 0 / 0.79 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003679/0.6938, allocations: 185.7 kB / 0.7902 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.905e-05/0.6939, allocations: 89.36 kB / 0.7903 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.6939, allocations: 5.016 kB / 0.7903 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.694, allocations: 17.48 kB / 0.7903 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.768e-05/0.6941, allocations: 13.89 kB / 0.7903 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.6941, allocations: 8.438 kB / 0.7903 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.415e-05/0.6942, allocations: 102.9 kB / 0.7904 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6942, allocations: 0 / 0.7904 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000257/0.6944, allocations: 41.8 kB / 0.7905 GB, free: 47.91 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.0001693/0.6946, allocations: 116.7 kB / 0.7906 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004383/0.6951, allocations: 188.8 kB / 0.7907 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.6951, allocations: 1 kB / 0.7907 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001732/0.6953, allocations: 65.66 kB / 0.7908 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.6955, allocations: 17.88 kB / 0.7908 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000494/0.696, allocations: 223.4 kB / 0.791 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.6961, allocations: 0.701 MB / 0.7917 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.121e-05/0.6962, allocations: 15.36 kB / 0.7917 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.676e-05/0.6962, allocations: 12.69 kB / 0.7917 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.6962, allocations: 0 / 0.7917 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of Templates: time 0.003618/0.6999, allocations: 1.404 MB / 0.7931 GB, free: 46.91 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)