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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 103.5 kB / 16.27 MB, free: 5.98 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.001492/0.001493, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.422/1.422, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002606/0.002606, allocations: 287.6 kB / 291.3 MB, free: 14.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.22/1.22, allocations: 178.5 MB / 0.5079 GB, free: 12.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00281/0.00281, allocations: 95.84 kB / 0.6071 GB, free: 9.309 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.1984, allocations: 89.14 MB / 0.6942 GB, free: 88 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.SignalRanker): time 0.002812/0.2013, allocations: 1.538 MB / 0.6957 GB, free: 14.53 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009958/0.2023, allocations: 0.5688 MB / 0.6962 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.011e-05/0.2024, allocations: 4 kB / 0.6962 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.529e-05/0.2025, allocations: 7.875 kB / 0.6962 GB, free: 13.94 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.918e-05/0.2025, allocations: 27.78 kB / 0.6962 GB, free: 13.91 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003785/0.2029, allocations: 91.77 kB / 0.6963 GB, free: 13.82 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001485/0.2031, allocations: 95.64 kB / 0.6964 GB, free: 13.73 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.2032, allocations: 28.2 kB / 0.6965 GB, free: 13.7 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.2033, allocations: 43.89 kB / 0.6965 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.577e-05/0.2034, allocations: 47.77 kB / 0.6965 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.2035, allocations: 4 kB / 0.6965 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.2036, allocations: 59.91 kB / 0.6966 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.276e-05/0.2036, allocations: 23.91 kB / 0.6966 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.302e-05/0.2037, allocations: 39.78 kB / 0.6967 GB, free: 13.48 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002162/0.2039, allocations: 139.8 kB / 0.6968 GB, free: 13.35 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.204, allocations: 7.922 kB / 0.6968 GB, free: 13.34 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.673e-06/0.204, allocations: 4 kB / 0.6968 GB, free: 13.34 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.277e-06/0.204, allocations: 3.938 kB / 0.6968 GB, free: 13.33 MB / 0.545 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.0008177/0.2048, allocations: 446.9 kB / 0.6972 GB, free: 12.84 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.2048, allocations: 12.03 kB / 0.6972 GB, free: 12.83 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.206e-05/0.2049, allocations: 12.75 kB / 0.6973 GB, free: 12.82 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.2051, allocations: 192.2 kB / 0.6974 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.2051, allocations: 4.375 kB / 0.6974 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.2051, allocations: 8.375 kB / 0.6975 GB, free: 12.58 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003249/0.2055, allocations: 109.9 kB / 0.6976 GB, free: 12.47 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.2055, allocations: 3.938 kB / 0.6976 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.2055, allocations: 0 / 0.6976 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.192e-05/0.2055, allocations: 4 kB / 0.6976 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003453/0.2059, allocations: 91.91 kB / 0.6977 GB, free: 12.37 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006632/0.2066, allocations: 340.7 kB / 0.698 GB, free: 11.99 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003194/0.2069, allocations: 98.44 kB / 0.6981 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/0.2071, allocations: 60.88 kB / 0.6981 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.2071, allocations: 4 kB / 0.6981 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003168/0.2074, allocations: 107.4 kB / 0.6982 GB, free: 11.7 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.824e-06/0.2075, allocations: 0 / 0.6982 GB, free: 11.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0006764/0.2081, allocations: 209.4 kB / 0.6984 GB, free: 11.49 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.2082, allocations: 59.39 kB / 0.6985 GB, free: 11.42 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.2083, allocations: 143.6 kB / 0.6986 GB, free: 11.27 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.2084, allocations: 29.7 kB / 0.6987 GB, free: 11.23 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.899e-05/0.2084, allocations: 108 kB / 0.6988 GB, free: 11.12 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.2085, allocations: 23.62 kB / 0.6988 GB, free: 11.1 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.937e-05/0.2085, allocations: 29.7 kB / 0.6988 GB, free: 11.07 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.2087, allocations: 322.8 kB / 0.6991 GB, free: 10.74 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.2089, allocations: 55.95 kB / 0.6992 GB, free: 10.69 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.2091, allocations: 64.17 kB / 0.6992 GB, free: 10.62 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003701/0.2095, allocations: 146.6 kB / 0.6994 GB, free: 10.47 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2095, allocations: 3.938 kB / 0.6994 GB, free: 10.47 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004772/0.21, allocations: 203.3 kB / 0.6996 GB, free: 10.26 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.014e-05/0.21, allocations: 33.7 kB / 0.6996 GB, free: 10.22 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.21, allocations: 0 / 0.6996 GB, free: 10.22 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.21, allocations: 7.938 kB / 0.6996 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.2102, allocations: 23.97 kB / 0.6996 GB, free: 10.19 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.2102, allocations: 0 / 0.6996 GB, free: 10.19 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.2104, allocations: 19.92 kB / 0.6997 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.2104, allocations: 0 / 0.6997 GB, free: 10.17 MB / 0.545 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.0001042/0.2105, allocations: 129 kB / 0.6998 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.022e-05/0.2105, allocations: 7.906 kB / 0.6998 GB, free: 10.03 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.065e-05/0.2106, allocations: 16.72 kB / 0.6998 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/0.2106, allocations: 8 kB / 0.6998 GB, free: 10 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.2106, allocations: 3.984 kB / 0.6998 GB, free: 10 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.2106, allocations: 0 / 0.6998 GB, free: 10 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000182/0.2108, allocations: 193.5 kB / 0.7 GB, free: 9.762 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.2108, allocations: 4 kB / 0.7 GB, free: 9.758 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.2109, allocations: 15.97 kB / 0.7 GB, free: 9.742 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2109, allocations: 0 / 0.7 GB, free: 9.742 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.2109, allocations: 4 kB / 0.7 GB, free: 9.738 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/0.2109, allocations: 3.938 kB / 0.7 GB, free: 9.734 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.211, allocations: 0 / 0.7 GB, free: 9.734 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004464/0.2114, allocations: 184.9 kB / 0.7002 GB, free: 9.535 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.099e-05/0.2115, allocations: 85.02 kB / 0.7003 GB, free: 9.434 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.2115, allocations: 3.984 kB / 0.7003 GB, free: 9.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.2116, allocations: 15.97 kB / 0.7003 GB, free: 9.414 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.188e-05/0.2117, allocations: 19.98 kB / 0.7003 GB, free: 9.395 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.2117, allocations: 0 / 0.7003 GB, free: 9.395 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.819e-05/0.2118, allocations: 111.2 kB / 0.7004 GB, free: 9.285 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2118, allocations: 3.938 kB / 0.7004 GB, free: 9.281 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000242/0.2121, allocations: 43.88 kB / 0.7005 GB, free: 9.238 MB / 0.545 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.000162/0.2122, allocations: 111.2 kB / 0.7006 GB, free: 9.121 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004929/0.2127, allocations: 199.3 kB / 0.7008 GB, free: 8.914 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2127, allocations: 0 / 0.7008 GB, free: 8.914 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002079/0.2129, allocations: 59.95 kB / 0.7008 GB, free: 8.855 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.2132, allocations: 14.02 kB / 0.7008 GB, free: 8.844 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005509/0.2137, allocations: 261.2 kB / 0.7011 GB, free: 8.559 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.214, allocations: 0.7079 MB / 0.7018 GB, free: 7.824 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.247e-05/0.2141, allocations: 19.42 kB / 0.7018 GB, free: 7.805 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.2141, allocations: 4 kB / 0.7018 GB, free: 7.801 MB / 0.545 GB Notification: Performance of Templates: time 0.003422/0.2175, allocations: 1.5 MB / 0.7033 GB, free: 6.309 MB / 0.545 GB 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)