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.1221/0.124, allocations: 80.84 MB / 0.6706 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002382/0.1264, allocations: 1.552 MB / 0.6721 GB, free: 452 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007518/0.1272, allocations: 0.5035 MB / 0.6726 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.706e-05/0.1272, allocations: 0 / 0.6726 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 9.58e-05/0.1273, allocations: 15.86 kB / 0.6726 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.764e-05/0.1274, allocations: 19.81 kB / 0.6726 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002357/0.1276, allocations: 43.88 kB / 0.6727 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.1278, allocations: 123.6 kB / 0.6728 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.823e-05/0.1279, allocations: 20.17 kB / 0.6728 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.128, allocations: 59.75 kB / 0.6729 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.393e-05/0.1281, allocations: 47.83 kB / 0.6729 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.1282, allocations: 8 kB / 0.6729 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.627e-05/0.1282, allocations: 8 kB / 0.6729 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.37e-05/0.1282, allocations: 23.92 kB / 0.673 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.391e-05/0.1283, allocations: 51.72 kB / 0.673 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.1284, allocations: 91.69 kB / 0.6731 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.1284, allocations: 0 / 0.6731 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1284, allocations: 4 kB / 0.6731 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.1284, allocations: 0 / 0.6731 GB, free: 15.42 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.0007159/0.1292, allocations: 478.5 kB / 0.6736 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 2.931e-05/0.1292, allocations: 12.03 kB / 0.6736 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.514e-05/0.1293, allocations: 12.75 kB / 0.6736 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.1294, allocations: 200.1 kB / 0.6738 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.1294, allocations: 8.375 kB / 0.6738 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.1295, allocations: 8.375 kB / 0.6738 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003181/0.1298, allocations: 133.9 kB / 0.6739 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.1298, allocations: 0 / 0.6739 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.1298, allocations: 4 kB / 0.6739 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1298, allocations: 7.984 kB / 0.6739 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003356/0.1302, allocations: 111.8 kB / 0.674 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005395/0.1307, allocations: 364.6 kB / 0.6744 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003252/0.1311, allocations: 134.5 kB / 0.6745 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002167/0.1313, allocations: 108.9 kB / 0.6746 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.1313, allocations: 0 / 0.6746 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003165/0.1316, allocations: 147.2 kB / 0.6748 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.452e-06/0.1316, allocations: 0 / 0.6748 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0007459/0.1324, allocations: 335 kB / 0.6751 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.062e-05/0.1325, allocations: 93.09 kB / 0.6752 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.597e-05/0.1326, allocations: 141 kB / 0.6753 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.1326, allocations: 29.7 kB / 0.6753 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.264e-05/0.1327, allocations: 100 kB / 0.6754 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.905e-05/0.1327, allocations: 35.55 kB / 0.6755 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.482e-05/0.1328, allocations: 29.72 kB / 0.6755 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.899e-05/0.1329, allocations: 326.8 kB / 0.6758 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000216/0.1331, allocations: 83.92 kB / 0.6759 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/0.1333, allocations: 83.94 kB / 0.676 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004323/0.1337, allocations: 269 kB / 0.6762 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1337, allocations: 0 / 0.6762 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005146/0.1343, allocations: 288.9 kB / 0.6765 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.031e-05/0.1343, allocations: 71.39 kB / 0.6766 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1343, allocations: 0 / 0.6766 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.1344, allocations: 3.984 kB / 0.6766 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.1345, allocations: 23.98 kB / 0.6766 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.1345, allocations: 3.938 kB / 0.6766 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001729/0.1347, allocations: 31.86 kB / 0.6766 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.1347, allocations: 4 kB / 0.6766 GB, free: 11.53 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.0001203/0.1348, allocations: 167.5 kB / 0.6768 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.028e-05/0.1349, allocations: 7.906 kB / 0.6768 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.374e-05/0.1349, allocations: 16.72 kB / 0.6768 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.1349, allocations: 4 kB / 0.6768 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.1349, allocations: 0 / 0.6768 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.1349, allocations: 3.938 kB / 0.6768 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.1351, allocations: 209.5 kB / 0.677 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1351, allocations: 0 / 0.677 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.1352, allocations: 19.97 kB / 0.677 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1352, allocations: 0 / 0.677 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.1352, allocations: 0 / 0.677 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.1352, allocations: 4 kB / 0.677 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1352, allocations: 0 / 0.677 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005476/0.1358, allocations: 314.8 kB / 0.6773 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.659e-05/0.1358, allocations: 85.02 kB / 0.6774 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.1359, allocations: 7.984 kB / 0.6774 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.136, allocations: 23.97 kB / 0.6774 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.523e-05/0.1361, allocations: 23.97 kB / 0.6775 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.1361, allocations: 8 kB / 0.6775 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.71e-05/0.1362, allocations: 107.2 kB / 0.6776 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1362, allocations: 0 / 0.6776 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002027/0.1364, allocations: 31.94 kB / 0.6776 GB, free: 10.39 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 9.48e-05/0.1365, allocations: 103.2 kB / 0.6777 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005684/0.1371, allocations: 346.6 kB / 0.678 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1371, allocations: 4 kB / 0.678 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002867/0.1374, allocations: 195.2 kB / 0.6782 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001921/0.1376, allocations: 12 kB / 0.6782 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005445/0.1381, allocations: 308 kB / 0.6785 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002041/0.1384, allocations: 0.7002 MB / 0.6792 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.795e-05/0.1384, allocations: 11.98 kB / 0.6792 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.948e-05/0.1385, allocations: 15.42 kB / 0.6792 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of SimCode: time 2.11e-07/0.1385, allocations: 0 / 0.6792 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of Templates: time 0.003727/0.1422, allocations: 1.759 MB / 0.681 GB, free: 6.871 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)