Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008883/0.0008883, allocations: 83.69 kB / 21.74 MB, free: 2.516 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008414/0.0008414, allocations: 174.9 kB / 25.18 MB, free: 8.84 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8554/0.8554, allocations: 177.1 MB / 205.6 MB, free: 4.383 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.899/1.899, allocations: 389.6 MB / 0.6364 GB, free: 13.28 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 3.938 kB / 0.7755 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.515e-05/2.738e-05, allocations: 2.312 kB / 0.7755 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.009033/0.00906, allocations: 1.642 MB / 0.7771 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.01024, allocations: 0.6348 MB / 0.7777 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.404e-05/0.01032, allocations: 0 / 0.7777 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.006163/0.01649, allocations: 15.86 kB / 0.7777 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.214e-05/0.01657, allocations: 15.8 kB / 0.7778 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005513/0.01712, allocations: 103.6 kB / 0.7779 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001864/0.01731, allocations: 103.6 kB / 0.778 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.01741, allocations: 16.16 kB / 0.778 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002212/0.01764, allocations: 59.88 kB / 0.778 GB, free: 12 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.222e-05/0.01772, allocations: 51.81 kB / 0.7781 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.01774, allocations: 8 kB / 0.7781 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001995/0.01794, allocations: 95.91 kB / 0.7782 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.761e-05/0.01799, allocations: 19.91 kB / 0.7782 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.769e-05/0.01804, allocations: 23.92 kB / 0.7782 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002436/0.01828, allocations: 155.5 kB / 0.7784 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.01828, allocations: 0 / 0.7784 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.193e-06/0.01829, allocations: 0 / 0.7784 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.01829, allocations: 3.938 kB / 0.7784 GB, free: 11.65 MB / 0.7448 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.0005189/0.01881, allocations: 358 kB / 0.7787 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.01884, allocations: 8.031 kB / 0.7787 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002085/0.01905, allocations: 28.91 kB / 0.7788 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001704/0.01922, allocations: 133.6 kB / 0.7789 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.01924, allocations: 4.375 kB / 0.7789 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001928/0.02117, allocations: 4.375 kB / 0.7789 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002462/0.02141, allocations: 93.64 kB / 0.779 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.02142, allocations: 192 / 0.779 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.02143, allocations: 8.375 kB / 0.779 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.695e-05/0.02146, allocations: 7.938 kB / 0.779 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.337e-05/0.02149, allocations: 11.98 kB / 0.779 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003621/0.02185, allocations: 201.8 kB / 0.7792 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.665e-05/0.02193, allocations: 74.47 kB / 0.7793 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.218e-05/0.02195, allocations: 12.86 kB / 0.7793 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.02196, allocations: 0 / 0.7793 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001138/0.02208, allocations: 82.25 kB / 0.7794 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 2.435e-06/0.02208, allocations: 4 kB / 0.7794 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0001548/0.02223, allocations: 65.72 kB / 0.7794 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.02227, allocations: 59.34 kB / 0.7795 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.04e-05/0.02236, allocations: 150.6 kB / 0.7796 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.02237, allocations: 25.7 kB / 0.7797 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.393e-05/0.02242, allocations: 96.08 kB / 0.7797 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.02243, allocations: 27.73 kB / 0.7798 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.795e-05/0.02247, allocations: 29.69 kB / 0.7798 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.94e-05/0.02255, allocations: 322.8 kB / 0.7801 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.007e-05/0.02259, allocations: 48.45 kB / 0.7802 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.579e-05/0.02262, allocations: 33.7 kB / 0.7802 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.601e-05/0.02268, allocations: 80.22 kB / 0.7803 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.02269, allocations: 0 / 0.7803 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.794e-05/0.02278, allocations: 129 kB / 0.7804 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/0.02281, allocations: 33.69 kB / 0.7804 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.02282, allocations: 4 kB / 0.7804 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.617e-06/0.02283, allocations: 4 kB / 0.7804 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.817e-05/0.02292, allocations: 19.98 kB / 0.7804 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.02292, allocations: 0 / 0.7804 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.029e-05/0.02298, allocations: 15.92 kB / 0.7805 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.02299, allocations: 4 kB / 0.7805 GB, free: 9.301 MB / 0.7448 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 6.765e-05/0.02306, allocations: 116.7 kB / 0.7806 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.43e-05/0.02307, allocations: 19.86 kB / 0.7806 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.058e-05/0.0231, allocations: 8.781 kB / 0.7806 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.776e-05/0.02312, allocations: 7.984 kB / 0.7806 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.02312, allocations: 0 / 0.7806 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.02312, allocations: 0 / 0.7806 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.564e-05/0.02321, allocations: 89.81 kB / 0.7807 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.02321, allocations: 0 / 0.7807 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.014e-05/0.02325, allocations: 23.92 kB / 0.7807 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.02325, allocations: 7.938 kB / 0.7807 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.02326, allocations: 3.984 kB / 0.7807 GB, free: 9 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.02326, allocations: 0 / 0.7807 GB, free: 9 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.02326, allocations: 0 / 0.7807 GB, free: 9 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.138e-05/0.02335, allocations: 91.22 kB / 0.7808 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.17e-05/0.02337, allocations: 7.953 kB / 0.7808 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.02338, allocations: 3.938 kB / 0.7808 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.966e-05/0.02342, allocations: 15.98 kB / 0.7808 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.02346, allocations: 15.95 kB / 0.7809 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.02347, allocations: 3.938 kB / 0.7809 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.509e-05/0.02349, allocations: 32.83 kB / 0.7809 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.02349, allocations: 4 kB / 0.7809 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001518/0.02365, allocations: 39.92 kB / 0.7809 GB, free: 8.766 MB / 0.7448 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.0001345/0.02378, allocations: 100.4 kB / 0.781 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000131/0.02391, allocations: 125.9 kB / 0.7811 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.02392, allocations: 4 kB / 0.7812 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.621e-05/0.02395, allocations: 21.03 kB / 0.7812 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001143/0.02407, allocations: 27.8 kB / 0.7812 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005071/0.02457, allocations: 256.6 kB / 0.7814 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.734e-05/0.02463, allocations: 89.38 kB / 0.7815 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.02474, allocations: 63.36 kB / 0.7816 GB, free: 8 MB / 0.7448 GB Notification: Performance of SimCode: time 1.032e-06/0.02474, allocations: 4 kB / 0.7816 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of Templates: time 0.002261/0.027, allocations: 1.569 MB / 0.7831 GB, free: 6.422 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker > Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.304015050642192]