Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker") translateModel(BuildingSystems.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7515/0.7515, allocations: 143.4 MB / 159.2 MB, free: 4.895 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 198.1 kB / 191.9 MB, free: 5.738 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 447.3 MB, free: 5.914 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 99.77 kB / 0.517 GB, free: 3.754 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001941/0.001941, allocations: 282.7 kB / 0.5973 GB, free: 49.4 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 75.89 kB / 0.6885 GB, free: 3.871 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2839, allocations: 81.29 MB / 0.7679 GB, free: 27.68 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.SignalRanker): time 0.002196/0.2861, allocations: 1.609 MB / 0.7695 GB, free: 26.07 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007277/0.2869, allocations: 0.6009 MB / 0.7701 GB, free: 25.47 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.846e-05/0.2869, allocations: 0 / 0.7701 GB, free: 25.47 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 9.301e-05/0.287, allocations: 7.922 kB / 0.7701 GB, free: 25.46 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 4.39e-05/0.2871, allocations: 15.86 kB / 0.7701 GB, free: 25.45 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.2873, allocations: 71.84 kB / 0.7702 GB, free: 25.38 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 9.194e-05/0.2874, allocations: 99.64 kB / 0.7702 GB, free: 25.28 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.869e-05/0.2875, allocations: 12.23 kB / 0.7703 GB, free: 25.27 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.144e-05/0.2876, allocations: 43.89 kB / 0.7703 GB, free: 25.22 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.99e-05/0.2877, allocations: 43.77 kB / 0.7703 GB, free: 25.18 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.2877, allocations: 4 kB / 0.7703 GB, free: 25.18 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.258e-05/0.2878, allocations: 63.89 kB / 0.7704 GB, free: 25.11 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 3.724e-05/0.2879, allocations: 15.92 kB / 0.7704 GB, free: 25.1 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 4.439e-05/0.2879, allocations: 39.78 kB / 0.7705 GB, free: 25.06 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.2881, allocations: 138.2 kB / 0.7706 GB, free: 24.93 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2881, allocations: 0 / 0.7706 GB, free: 24.93 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.2881, allocations: 0 / 0.7706 GB, free: 24.93 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.2881, allocations: 0 / 0.7706 GB, free: 24.93 MB / 458.7 MB 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.0006061/0.2887, allocations: 448.8 kB / 0.771 GB, free: 24.43 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.906e-05/0.2887, allocations: 16.03 kB / 0.771 GB, free: 24.42 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.82e-05/0.2888, allocations: 12.75 kB / 0.771 GB, free: 24.41 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.2889, allocations: 190.6 kB / 0.7712 GB, free: 24.18 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.2889, allocations: 8.375 kB / 0.7712 GB, free: 24.18 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.2889, allocations: 4.375 kB / 0.7712 GB, free: 24.17 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002592/0.2892, allocations: 101.9 kB / 0.7713 GB, free: 24.07 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.2892, allocations: 3.938 kB / 0.7713 GB, free: 24.06 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.2892, allocations: 11.92 kB / 0.7714 GB, free: 24.05 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.665e-05/0.2893, allocations: 8 kB / 0.7714 GB, free: 24.04 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002992/0.2896, allocations: 83.92 kB / 0.7714 GB, free: 23.96 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005274/0.2901, allocations: 352.6 kB / 0.7718 GB, free: 23.57 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002754/0.2904, allocations: 94.45 kB / 0.7719 GB, free: 23.46 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001578/0.2906, allocations: 52.88 kB / 0.7719 GB, free: 23.41 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.2906, allocations: 4 kB / 0.7719 GB, free: 23.41 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002682/0.2909, allocations: 111.3 kB / 0.772 GB, free: 23.29 MB / 458.7 MB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.2909, allocations: 0 / 0.772 GB, free: 23.29 MB / 458.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005748/0.2914, allocations: 213.5 kB / 0.7722 GB, free: 23.07 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.276e-05/0.2915, allocations: 55.41 kB / 0.7723 GB, free: 23 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.196e-05/0.2916, allocations: 137.8 kB / 0.7724 GB, free: 22.86 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.2916, allocations: 29.7 kB / 0.7724 GB, free: 22.82 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.715e-05/0.2916, allocations: 100 kB / 0.7725 GB, free: 22.72 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.915e-05/0.2917, allocations: 31.55 kB / 0.7726 GB, free: 22.69 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.587e-05/0.2917, allocations: 26 kB / 0.7726 GB, free: 22.66 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.038e-05/0.2917, allocations: 322.8 kB / 0.7729 GB, free: 22.34 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001736/0.2919, allocations: 59.95 kB / 0.773 GB, free: 22.28 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.2921, allocations: 67.81 kB / 0.773 GB, free: 22.21 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003043/0.2924, allocations: 138.5 kB / 0.7732 GB, free: 22.07 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2924, allocations: 0 / 0.7732 GB, free: 22.07 MB / 458.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003933/0.2928, allocations: 199.2 kB / 0.7733 GB, free: 21.86 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.2928, allocations: 37.69 kB / 0.7734 GB, free: 21.82 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.2929, allocations: 0 / 0.7734 GB, free: 21.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.2929, allocations: 0 / 0.7734 GB, free: 21.82 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.293, allocations: 19.92 kB / 0.7734 GB, free: 21.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.293, allocations: 0 / 0.7734 GB, free: 21.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/0.2932, allocations: 19.98 kB / 0.7734 GB, free: 21.78 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.2932, allocations: 7.984 kB / 0.7734 GB, free: 21.77 MB / 458.7 MB 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 6.63e-05/0.2932, allocations: 122.3 kB / 0.7735 GB, free: 21.64 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.64e-05/0.2933, allocations: 7.906 kB / 0.7736 GB, free: 21.63 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.718e-05/0.2933, allocations: 16.7 kB / 0.7736 GB, free: 21.62 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.2933, allocations: 4 kB / 0.7736 GB, free: 21.61 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2933, allocations: 0 / 0.7736 GB, free: 21.61 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.2933, allocations: 0 / 0.7736 GB, free: 21.61 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.2934, allocations: 217.4 kB / 0.7738 GB, free: 21.35 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.2935, allocations: 0 / 0.7738 GB, free: 21.35 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.2936, allocations: 15.98 kB / 0.7738 GB, free: 21.34 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.2936, allocations: 4 kB / 0.7738 GB, free: 21.33 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.2936, allocations: 0 / 0.7738 GB, free: 21.33 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.2936, allocations: 3.984 kB / 0.7738 GB, free: 21.33 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2936, allocations: 0 / 0.7738 GB, free: 21.33 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006687/0.2943, allocations: 0.7994 MB / 0.7746 GB, free: 20.47 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.281e-05/0.2943, allocations: 85.02 kB / 0.7747 GB, free: 20.37 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.209e-05/0.2943, allocations: 3.938 kB / 0.7747 GB, free: 20.36 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.2945, allocations: 19.98 kB / 0.7747 GB, free: 20.34 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.708e-05/0.2945, allocations: 11.97 kB / 0.7747 GB, free: 20.33 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-06/0.2945, allocations: 3.984 kB / 0.7747 GB, free: 20.33 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.205e-05/0.2946, allocations: 109.9 kB / 0.7748 GB, free: 20.22 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2946, allocations: 3.938 kB / 0.7748 GB, free: 20.22 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003173/0.2949, allocations: 55.91 kB / 0.7749 GB, free: 20.16 MB / 458.7 MB 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.0001273/0.2951, allocations: 107.2 kB / 0.775 GB, free: 20.05 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003994/0.2955, allocations: 183.2 kB / 0.7751 GB, free: 19.86 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2955, allocations: 4 kB / 0.7751 GB, free: 19.86 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001827/0.2957, allocations: 63.95 kB / 0.7752 GB, free: 19.79 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/0.2959, allocations: 8 kB / 0.7752 GB, free: 19.79 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004771/0.2963, allocations: 388.2 kB / 0.7756 GB, free: 19.37 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.97e-05/0.2965, allocations: 0.7004 MB / 0.7763 GB, free: 18.64 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.138e-05/0.2965, allocations: 19.77 kB / 0.7763 GB, free: 18.62 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.606e-05/0.2966, allocations: 15.42 kB / 0.7763 GB, free: 18.61 MB / 458.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2966, allocations: 0 / 0.7763 GB, free: 18.61 MB / 458.7 MB Notification: Performance of Templates: time 0.003015/0.2996, allocations: 1.327 MB / 0.7776 GB, free: 17.29 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.makefile (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)