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.2184/0.2205, allocations: 80.84 MB / 0.6706 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.003073/0.2236, allocations: 1.547 MB / 0.6721 GB, free: 500 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009486/0.2246, allocations: 0.5035 MB / 0.6726 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.679e-05/0.2247, allocations: 4 kB / 0.6726 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001517/0.2249, allocations: 11.86 kB / 0.6726 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.534e-05/0.2249, allocations: 19.81 kB / 0.6726 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.2252, allocations: 47.92 kB / 0.6727 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.2254, allocations: 115.6 kB / 0.6728 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.2256, allocations: 24.17 kB / 0.6728 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.2257, allocations: 59.75 kB / 0.6729 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.2258, allocations: 51.81 kB / 0.6729 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.978e-05/0.2258, allocations: 8 kB / 0.6729 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.936e-05/0.2259, allocations: 8 kB / 0.6729 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.698e-05/0.2259, allocations: 27.91 kB / 0.673 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.149e-05/0.226, allocations: 47.73 kB / 0.673 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001694/0.2262, allocations: 91.69 kB / 0.6731 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.2262, allocations: 0 / 0.6731 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2262, allocations: 4 kB / 0.6731 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.2262, 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.0009671/0.2272, allocations: 478.5 kB / 0.6736 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/0.2273, allocations: 8.031 kB / 0.6736 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.966e-05/0.2273, allocations: 20.75 kB / 0.6736 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.2276, allocations: 200.1 kB / 0.6738 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.2276, allocations: 8.375 kB / 0.6738 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.2277, allocations: 4.375 kB / 0.6738 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003861/0.228, allocations: 133.9 kB / 0.6739 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.2281, allocations: 4 kB / 0.6739 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.2281, allocations: 4 kB / 0.6739 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.2281, allocations: 0 / 0.6739 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004116/0.2285, allocations: 119.8 kB / 0.674 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007625/0.2293, allocations: 360.5 kB / 0.6744 GB, free: 14 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003604/0.2297, allocations: 142.4 kB / 0.6745 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002334/0.2299, allocations: 100.9 kB / 0.6746 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.2299, allocations: 4.031 kB / 0.6746 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000387/0.2303, allocations: 147.2 kB / 0.6748 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.2303, allocations: 4 kB / 0.6748 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0008271/0.2312, allocations: 327 kB / 0.6751 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.882e-05/0.2313, allocations: 89.11 kB / 0.6752 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.2314, allocations: 145 kB / 0.6753 GB, free: 13 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.2314, allocations: 33.7 kB / 0.6753 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.745e-05/0.2315, allocations: 100 kB / 0.6754 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.417e-05/0.2315, allocations: 31.55 kB / 0.6755 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.044e-05/0.2316, allocations: 33.7 kB / 0.6755 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.2318, allocations: 322.8 kB / 0.6758 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002347/0.232, allocations: 83.94 kB / 0.6759 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/0.2322, allocations: 87.56 kB / 0.676 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004797/0.2327, allocations: 265.8 kB / 0.6762 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2327, allocations: 0 / 0.6762 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005824/0.2333, allocations: 288.9 kB / 0.6765 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.158e-05/0.2334, allocations: 75.39 kB / 0.6766 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2334, allocations: 0 / 0.6766 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.2334, allocations: 0 / 0.6766 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.2336, allocations: 19.97 kB / 0.6766 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.2336, allocations: 0 / 0.6766 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001831/0.2338, allocations: 31.81 kB / 0.6766 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.526e-05/0.2338, allocations: 7.984 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.0001397/0.234, allocations: 167.9 kB / 0.6768 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/0.234, allocations: 7.906 kB / 0.6768 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4e-05/0.2341, allocations: 16.72 kB / 0.6768 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.2341, allocations: 0 / 0.6768 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.2341, allocations: 3.938 kB / 0.6768 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.2341, allocations: 11.92 kB / 0.6768 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/0.2343, allocations: 205.5 kB / 0.677 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2343, allocations: 0 / 0.677 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.2344, allocations: 19.97 kB / 0.677 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.2344, allocations: 0 / 0.677 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.2344, allocations: 8 kB / 0.677 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2344, allocations: 0 / 0.677 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2344, allocations: 0 / 0.677 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005848/0.235, allocations: 306.4 kB / 0.6773 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.204e-05/0.2351, allocations: 85.02 kB / 0.6774 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.222e-05/0.2351, allocations: 12 kB / 0.6774 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.2353, allocations: 23.95 kB / 0.6774 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.2354, allocations: 19.98 kB / 0.6775 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.2355, allocations: 3.984 kB / 0.6775 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.133e-05/0.2355, allocations: 103.3 kB / 0.6776 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2355, allocations: 4 kB / 0.6776 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002281/0.2358, allocations: 31.94 kB / 0.6776 GB, free: 10.45 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.0001378/0.2359, allocations: 111.2 kB / 0.6777 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006308/0.2366, allocations: 342.6 kB / 0.678 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2366, allocations: 0 / 0.678 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000342/0.2369, allocations: 195.2 kB / 0.6782 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.2372, allocations: 16.78 kB / 0.6782 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006807/0.2379, allocations: 312 kB / 0.6785 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/0.2383, allocations: 0.7041 MB / 0.6792 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.844e-05/0.2383, allocations: 15.97 kB / 0.6792 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.096e-05/0.2384, allocations: 15.44 kB / 0.6792 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of SimCode: time 3.01e-07/0.2384, allocations: 192 / 0.6792 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of Templates: time 0.004766/0.2432, allocations: 1.748 MB / 0.681 GB, free: 6.918 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)