Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/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/Complex 4.0.0+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/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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 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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Continuous.Examples.SignalRanker") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1993/0.2026, allocations: 80.84 MB / 0.6706 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.003156/0.2058, allocations: 1.56 MB / 0.6721 GB, free: 488 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.2069, allocations: 0.4996 MB / 0.6726 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.151e-05/0.207, allocations: 0 / 0.6726 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001263/0.2072, allocations: 11.86 kB / 0.6726 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.226e-05/0.2072, allocations: 23.81 kB / 0.6726 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002863/0.2075, allocations: 47.86 kB / 0.6727 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.2077, allocations: 115.7 kB / 0.6728 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.2078, allocations: 20.17 kB / 0.6728 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001467/0.208, allocations: 63.75 kB / 0.6729 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.2081, allocations: 43.83 kB / 0.6729 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.92e-05/0.2081, allocations: 12 kB / 0.6729 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.955e-05/0.2082, allocations: 8 kB / 0.6729 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.027e-05/0.2082, allocations: 23.91 kB / 0.673 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.876e-05/0.2083, allocations: 47.72 kB / 0.673 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.2085, allocations: 95.69 kB / 0.6731 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.2085, allocations: 0 / 0.6731 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.824e-06/0.2085, allocations: 0 / 0.6731 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.844e-06/0.2085, allocations: 0 / 0.6731 GB, free: 15.46 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0009498/0.2095, allocations: 486.4 kB / 0.6736 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.2095, allocations: 12.02 kB / 0.6736 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.323e-05/0.2096, allocations: 12.75 kB / 0.6736 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002411/0.2099, allocations: 192.2 kB / 0.6738 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.2099, allocations: 12.31 kB / 0.6738 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.2099, allocations: 12.36 kB / 0.6738 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003665/0.2103, allocations: 133.9 kB / 0.6739 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.2103, allocations: 3.938 kB / 0.6739 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.2103, allocations: 4 kB / 0.6739 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.2103, allocations: 0 / 0.6739 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003649/0.2107, allocations: 119.9 kB / 0.674 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007002/0.2114, allocations: 356.6 kB / 0.6744 GB, free: 14 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000375/0.2118, allocations: 138.4 kB / 0.6745 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00022/0.212, allocations: 104.9 kB / 0.6746 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.2121, allocations: 0 / 0.6746 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003862/0.2125, allocations: 139.3 kB / 0.6747 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.495e-05/0.2125, allocations: 3.938 kB / 0.6747 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0008428/0.2133, allocations: 327.1 kB / 0.6751 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.914e-05/0.2134, allocations: 93.09 kB / 0.6752 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.2136, allocations: 141 kB / 0.6753 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.2136, allocations: 37.69 kB / 0.6753 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.683e-05/0.2137, allocations: 96.05 kB / 0.6754 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.242e-05/0.2137, allocations: 35.55 kB / 0.6754 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.151e-05/0.2138, allocations: 29.7 kB / 0.6755 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.2139, allocations: 326.8 kB / 0.6758 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000224/0.2141, allocations: 79.94 kB / 0.6759 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000205/0.2143, allocations: 87.88 kB / 0.6759 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004482/0.2148, allocations: 261.8 kB / 0.6762 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2148, allocations: 384 / 0.6762 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005382/0.2154, allocations: 291.6 kB / 0.6765 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.56e-05/0.2154, allocations: 71.39 kB / 0.6765 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.2154, allocations: 4.078 kB / 0.6765 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.2155, allocations: 7.938 kB / 0.6766 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.2156, allocations: 23.92 kB / 0.6766 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.2156, allocations: 3.984 kB / 0.6766 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.2158, allocations: 27.88 kB / 0.6766 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.2158, allocations: 4.078 kB / 0.6766 GB, free: 11.57 MB / 0.5137 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: 0 * Algorithm blocks: 2 * 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.0001235/0.216, allocations: 167.5 kB / 0.6768 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.128e-05/0.216, allocations: 7.906 kB / 0.6768 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.58e-05/0.216, allocations: 20.72 kB / 0.6768 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.216, allocations: 0 / 0.6768 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.2161, allocations: 0 / 0.6768 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.2161, allocations: 4 kB / 0.6768 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.2162, allocations: 217.4 kB / 0.677 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.2163, allocations: 0 / 0.677 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.2164, allocations: 19.97 kB / 0.677 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.2164, allocations: 0 / 0.677 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.2164, allocations: 4 kB / 0.677 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.214e-06/0.2164, allocations: 3.984 kB / 0.677 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2164, allocations: 7.938 kB / 0.677 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005508/0.217, allocations: 298.4 kB / 0.6773 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.72e-05/0.217, allocations: 89 kB / 0.6774 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.2171, allocations: 0 / 0.6774 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.2172, allocations: 35.95 kB / 0.6774 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.568e-05/0.2173, allocations: 15.98 kB / 0.6775 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.2174, allocations: 7.984 kB / 0.6775 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.292e-05/0.2174, allocations: 103.3 kB / 0.6776 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.283e-06/0.2174, allocations: 0 / 0.6776 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002139/0.2177, allocations: 35.88 kB / 0.6776 GB, free: 10.44 MB / 0.5137 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: 0 * Algorithm blocks: 1 * 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.0001167/0.2178, allocations: 99.23 kB / 0.6777 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006274/0.2184, allocations: 350.6 kB / 0.678 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.2184, allocations: 192 / 0.678 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003093/0.2187, allocations: 195.2 kB / 0.6782 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.219, allocations: 15.94 kB / 0.6782 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006737/0.2197, allocations: 316 kB / 0.6785 GB, free: 9.406 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.2199, allocations: 0.6963 MB / 0.6792 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.866e-05/0.22, allocations: 11.98 kB / 0.6792 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.123e-05/0.22, allocations: 15.44 kB / 0.6792 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.22, allocations: 4 kB / 0.6792 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of Templates: time 0.00444/0.2245, allocations: 1.795 MB / 0.681 GB, free: 6.867 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_3.0.0_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)