Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.787/1.787, allocations: 288.4 MB / 303.7 MB, free: 8.855 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.001288/0.001289, allocations: 176.5 kB / 372.3 MB, free: 6.441 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.549/1.549, allocations: 205.4 MB / 0.631 GB, free: 13.46 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.0007397/0.00074, allocations: 92.55 kB / 0.7444 GB, free: 64.67 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003572/0.0003573, allocations: 12 kB / 0.8675 GB, free: 0.5898 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2077, allocations: 115.3 MB / 0.9801 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001742/0.2095, allocations: 1.249 MB / 0.9813 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009277/0.2104, allocations: 0.5896 MB / 0.9819 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.916e-05/0.2105, allocations: 0 / 0.9819 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 8.128e-05/0.2106, allocations: 11.92 kB / 0.9819 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.001e-05/0.2107, allocations: 7.875 kB / 0.9819 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003333/0.211, allocations: 71.84 kB / 0.982 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.2111, allocations: 91.62 kB / 0.9821 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.2112, allocations: 16.23 kB / 0.9821 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.2114, allocations: 31.91 kB / 0.9821 GB, free: 11 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.788e-05/0.2115, allocations: 47.81 kB / 0.9822 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.2115, allocations: 0 / 0.9822 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.086e-05/0.2116, allocations: 55.91 kB / 0.9822 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.782e-05/0.2116, allocations: 15.92 kB / 0.9823 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.005e-05/0.2117, allocations: 57.5 kB / 0.9823 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.2118, allocations: 96.03 kB / 0.9824 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.2119, allocations: 4 kB / 0.9824 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2119, allocations: 0 / 0.9824 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.2119, allocations: 0 / 0.9824 GB, free: 10.73 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.0006982/0.2126, allocations: 444.8 kB / 0.9828 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.2126, allocations: 8.031 kB / 0.9828 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.208e-05/0.2127, allocations: 12.78 kB / 0.9828 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/0.2128, allocations: 208 kB / 0.983 GB, free: 9.977 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.2129, allocations: 384 / 0.983 GB, free: 9.977 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.2129, allocations: 8.375 kB / 0.9831 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003013/0.2132, allocations: 121.9 kB / 0.9832 GB, free: 9.844 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.2132, allocations: 3.938 kB / 0.9832 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.2132, allocations: 3.984 kB / 0.9832 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/0.2133, allocations: 8 kB / 0.9832 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003207/0.2136, allocations: 103.9 kB / 0.9833 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006167/0.2142, allocations: 360.6 kB / 0.9836 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002954/0.2145, allocations: 102.5 kB / 0.9837 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001789/0.2147, allocations: 68.88 kB / 0.9838 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.2147, allocations: 0 / 0.9838 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003023/0.215, allocations: 131.3 kB / 0.9839 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.704e-06/0.2151, allocations: 0 / 0.9839 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0006331/0.2157, allocations: 241.4 kB / 0.9841 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.2157, allocations: 51.41 kB / 0.9842 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.2159, allocations: 139.7 kB / 0.9843 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.2159, allocations: 29.7 kB / 0.9844 GB, free: 8.52 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.052e-05/0.216, allocations: 104 kB / 0.9845 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/0.216, allocations: 23.7 kB / 0.9845 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.602e-06/0.216, allocations: 0 / 0.9845 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.2161, allocations: 322.8 kB / 0.9848 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.2163, allocations: 71.94 kB / 0.9849 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.2165, allocations: 67.95 kB / 0.9849 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003462/0.2169, allocations: 166.5 kB / 0.9851 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2169, allocations: 0 / 0.9851 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004554/0.2173, allocations: 223.1 kB / 0.9853 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.883e-05/0.2174, allocations: 33.69 kB / 0.9853 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2174, allocations: 0 / 0.9853 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.2174, allocations: 0 / 0.9853 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.2176, allocations: 24.45 kB / 0.9853 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.2176, allocations: 0 / 0.9853 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.2177, allocations: 31.81 kB / 0.9854 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.2178, allocations: 4 kB / 0.9854 GB, free: 7.43 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 ($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: 1 * Algorithm blocks: 1 * 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.0001007/0.2179, allocations: 137.6 kB / 0.9855 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.2179, allocations: 7.906 kB / 0.9855 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.192e-05/0.2179, allocations: 12.7 kB / 0.9855 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/0.2179, allocations: 4 kB / 0.9855 GB, free: 7.262 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.218, allocations: 0 / 0.9855 GB, free: 7.262 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.218, allocations: 0 / 0.9855 GB, free: 7.262 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/0.2181, allocations: 197.5 kB / 0.9857 GB, free: 7.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2182, allocations: 4 kB / 0.9857 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.2183, allocations: 19.98 kB / 0.9857 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.788e-06/0.2183, allocations: 0 / 0.9857 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.2183, allocations: 11.92 kB / 0.9858 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.2183, allocations: 0 / 0.9858 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.2183, allocations: 8 kB / 0.9858 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004299/0.2188, allocations: 200.8 kB / 0.986 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.406e-05/0.2188, allocations: 88.92 kB / 0.986 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.2188, allocations: 7.984 kB / 0.986 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.219, allocations: 23.97 kB / 0.9861 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.93e-05/0.219, allocations: 15.97 kB / 0.9861 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-06/0.2191, allocations: 0 / 0.9861 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.141e-05/0.2191, allocations: 108.8 kB / 0.9862 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2191, allocations: 0 / 0.9862 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002281/0.2194, allocations: 47.88 kB / 0.9862 GB, free: 6.457 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 (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.0001536/0.2195, allocations: 111.2 kB / 0.9863 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004602/0.22, allocations: 207.2 kB / 0.9865 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.22, allocations: 0 / 0.9865 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002167/0.2202, allocations: 71.95 kB / 0.9866 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001965/0.2204, allocations: 18.56 kB / 0.9866 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005029/0.221, allocations: 255.2 kB / 0.9869 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.2212, allocations: 0.7004 MB / 0.9876 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.104e-05/0.2213, allocations: 15.92 kB / 0.9876 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.554e-05/0.2213, allocations: 11.44 kB / 0.9876 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of SimCode: time 2.1e-07/0.2213, allocations: 0 / 0.9876 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of Templates: time 0.00332/0.2247, allocations: 1.251 MB / 0.9888 GB, free: 3.762 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)