Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.0007296/0.0007296, allocations: 92.7 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008384/0.0008384, allocations: 178.9 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.016/1.016, allocations: 143.2 MB / 435.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003787/0.0003789, allocations: 8 kB / 0.517 GB, free: 11.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1907, allocations: 83.41 MB / 0.5985 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.001774/0.1926, allocations: 1.276 MB / 0.5997 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001029/0.1936, allocations: 0.5651 MB / 0.6003 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.282e-05/0.1937, allocations: 0 / 0.6003 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.59e-05/0.1938, allocations: 7.938 kB / 0.6003 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.139e-05/0.1939, allocations: 15.84 kB / 0.6003 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003179/0.1942, allocations: 67.88 kB / 0.6004 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.1943, allocations: 99.62 kB / 0.6005 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.1944, allocations: 16.23 kB / 0.6005 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.1945, allocations: 35.84 kB / 0.6005 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.929e-05/0.1946, allocations: 43.81 kB / 0.6006 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.1947, allocations: 4 kB / 0.6006 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.1948, allocations: 63.89 kB / 0.6006 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.395e-05/0.1948, allocations: 15.92 kB / 0.6006 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.512e-05/0.1949, allocations: 65.44 kB / 0.6007 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.1951, allocations: 96.03 kB / 0.6008 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1951, allocations: 0 / 0.6008 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1951, allocations: 0 / 0.6008 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.1951, allocations: 0 / 0.6008 GB, free: 5.281 MB / 0.4981 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.0007865/0.1959, allocations: 452.8 kB / 0.6012 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.1959, allocations: 8.031 kB / 0.6012 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.877e-05/0.196, allocations: 8.844 kB / 0.6012 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.1962, allocations: 207.1 kB / 0.6014 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.1962, allocations: 4.375 kB / 0.6014 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.1963, allocations: 4.375 kB / 0.6015 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003314/0.1966, allocations: 121.9 kB / 0.6016 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.1966, allocations: 0 / 0.6016 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.1966, allocations: 0 / 0.6016 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.178e-05/0.1967, allocations: 7.984 kB / 0.6016 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000352/0.197, allocations: 107.9 kB / 0.6017 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007071/0.1977, allocations: 356.6 kB / 0.602 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003463/0.1981, allocations: 106.5 kB / 0.6021 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001926/0.1983, allocations: 64.88 kB / 0.6022 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.1983, allocations: 8.062 kB / 0.6022 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003647/0.1987, allocations: 135.1 kB / 0.6023 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.1987, allocations: 0 / 0.6023 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0007062/0.1994, allocations: 233.4 kB / 0.6025 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.1995, allocations: 59.41 kB / 0.6026 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.1996, allocations: 137.8 kB / 0.6027 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.1996, allocations: 25.7 kB / 0.6028 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.713e-05/0.1997, allocations: 100 kB / 0.6028 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.1997, allocations: 27.64 kB / 0.6029 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-05/0.1998, allocations: 17.72 kB / 0.6029 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.1999, allocations: 326.8 kB / 0.6032 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000214/0.2001, allocations: 67.95 kB / 0.6033 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.2003, allocations: 67.95 kB / 0.6033 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003911/0.2007, allocations: 166.5 kB / 0.6035 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2007, allocations: 0 / 0.6035 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004751/0.2012, allocations: 219.2 kB / 0.6037 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.973e-05/0.2013, allocations: 37.7 kB / 0.6037 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.2013, allocations: 4 kB / 0.6037 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.2013, allocations: 0 / 0.6037 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.2015, allocations: 23.97 kB / 0.6038 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.2015, allocations: 0 / 0.6038 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.2016, allocations: 27.83 kB / 0.6038 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.2016, allocations: 4 kB / 0.6038 GB, free: 1.961 MB / 0.4981 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.0001019/0.2018, allocations: 129.7 kB / 0.6039 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.791e-05/0.2018, allocations: 11.91 kB / 0.6039 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.484e-05/0.2018, allocations: 12.72 kB / 0.6039 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/0.2018, allocations: 4 kB / 0.6039 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2018, allocations: 0 / 0.6039 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.2019, allocations: 480 / 0.6039 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.202, allocations: 197.5 kB / 0.6041 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.202, allocations: 0 / 0.6041 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.2022, allocations: 27.97 kB / 0.6042 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.2022, allocations: 4 kB / 0.6042 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.2022, allocations: 3.938 kB / 0.6042 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.2022, allocations: 0 / 0.6042 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2022, allocations: 0 / 0.6042 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004604/0.2027, allocations: 216.8 kB / 0.6044 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.746e-05/0.2027, allocations: 81.02 kB / 0.6045 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.2028, allocations: 4 kB / 0.6045 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.2029, allocations: 23.97 kB / 0.6045 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.037e-05/0.203, allocations: 11.98 kB / 0.6045 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.203, allocations: 4 kB / 0.6045 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.761e-05/0.2031, allocations: 113.4 kB / 0.6046 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.4e-07/0.2031, allocations: 0 / 0.6046 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002519/0.2033, allocations: 43.84 kB / 0.6046 GB, free: 0.9922 MB / 0.4981 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.0001716/0.2035, allocations: 115.2 kB / 0.6048 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004945/0.204, allocations: 203.2 kB / 0.6049 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-05/0.204, allocations: 4 kB / 0.605 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000219/0.2042, allocations: 75.89 kB / 0.605 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.2045, allocations: 15.97 kB / 0.605 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005936/0.2051, allocations: 292.7 kB / 0.6053 GB, free: 252 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2858/0.4909, allocations: 0.6981 MB / 0.606 GB, free: 40.63 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.581e-05/0.491, allocations: 13.38 kB / 0.606 GB, free: 40.62 MB / 0.4981 GB Notification: Performance of SimCode: time 9.01e-07/0.4911, allocations: 0 / 0.606 GB, free: 40.62 MB / 0.4981 GB Notification: Performance of Templates: time 0.00294/0.494, allocations: 1.491 MB / 0.6075 GB, free: 40.62 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)