Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") [/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.2789/0.2812, allocations: 80.83 MB / 0.6706 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003975/0.2853, allocations: 1.214 MB / 0.6718 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000427/0.2857, allocations: 59.75 kB / 0.6718 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.216e-05/0.2858, allocations: 4 kB / 0.6718 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.209e-05/0.2859, allocations: 3.938 kB / 0.6719 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001786/0.2861, allocations: 3.984 kB / 0.6719 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002633/0.2864, allocations: 4 kB / 0.6719 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.2865, allocations: 23.91 kB / 0.6719 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.128e-05/0.2866, allocations: 4 kB / 0.6719 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.135e-05/0.2867, allocations: 4 kB / 0.6719 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.2868, allocations: 12.72 kB / 0.6719 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.501e-05/0.2868, allocations: 0 / 0.6719 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.2869, allocations: 19.94 kB / 0.6719 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001308/0.2871, allocations: 44.39 kB / 0.672 GB, free: 460 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.066e-05/0.2872, allocations: 39.73 kB / 0.672 GB, free: 420 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.2874, allocations: 71.59 kB / 0.6721 GB, free: 348 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.789e-06/0.2874, allocations: 4 kB / 0.6721 GB, free: 344 kB / 0.4981 GB Notification: Performance of FrontEnd: time 3.526e-06/0.2874, allocations: 0 / 0.6721 GB, free: 344 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.216e-05/0.2874, allocations: 0 / 0.6721 GB, free: 344 kB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000777/0.2882, allocations: 422.8 kB / 0.6725 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 7.155e-05/0.2883, allocations: 12.03 kB / 0.6725 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/0.2884, allocations: 88.03 kB / 0.6726 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.2887, allocations: 263.5 kB / 0.6728 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.184e-05/0.2888, allocations: 154.7 kB / 0.673 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.2889, allocations: 154.6 kB / 0.6731 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.289, allocations: 101.3 kB / 0.6732 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.437e-05/0.2891, allocations: 83.28 kB / 0.6733 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.043e-05/0.2892, allocations: 154.5 kB / 0.6734 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.005e-05/0.2893, allocations: 154.5 kB / 0.6736 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.2894, allocations: 150.6 kB / 0.6737 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005843/0.29, allocations: 0.49 MB / 0.6742 GB, free: 14 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.2901, allocations: 173.1 kB / 0.6744 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.573e-05/0.2902, allocations: 80.14 kB / 0.6745 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.956e-05/0.2903, allocations: 87.14 kB / 0.6745 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.208e-05/0.2904, allocations: 109.8 kB / 0.6746 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 1.513e-06/0.2904, allocations: 0 / 0.6746 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 0.0001457/0.2905, allocations: 41.52 kB / 0.6747 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.2906, allocations: 130.7 kB / 0.6748 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000353/0.291, allocations: 227 kB / 0.675 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.291, allocations: 25.7 kB / 0.675 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.2912, allocations: 116 kB / 0.6752 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.02e-06/0.2912, allocations: 0 / 0.6752 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.96e-05/0.2913, allocations: 33.7 kB / 0.6752 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.00019/0.2915, allocations: 330.8 kB / 0.6755 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.2916, allocations: 63.91 kB / 0.6756 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.784e-05/0.2917, allocations: 66.52 kB / 0.6756 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002071/0.2919, allocations: 128.8 kB / 0.6758 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.227e-06/0.2919, allocations: 4 kB / 0.6758 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000455/0.2924, allocations: 171 kB / 0.6759 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.2924, allocations: 7.984 kB / 0.6759 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.2924, allocations: 0 / 0.6759 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.2924, allocations: 0 / 0.6759 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.704e-06/0.2925, allocations: 0 / 0.6759 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.2925, allocations: 0 / 0.6759 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.279e-05/0.2925, allocations: 19.81 kB / 0.6759 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/0.2926, allocations: 4 kB / 0.6759 GB, free: 12.12 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 1 * Algorithm blocks: 0 * 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.0001761/0.2928, allocations: 209 kB / 0.6761 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.274e-05/0.2929, allocations: 116.7 kB / 0.6763 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.139e-05/0.2929, allocations: 125.3 kB / 0.6764 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.018e-05/0.293, allocations: 184.2 kB / 0.6766 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.587e-05/0.2931, allocations: 180.3 kB / 0.6767 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-05/0.2932, allocations: 176.3 kB / 0.6769 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004156/0.2936, allocations: 449.1 kB / 0.6773 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.733e-05/0.2937, allocations: 101 kB / 0.6774 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.425e-05/0.2938, allocations: 104.9 kB / 0.6775 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001113/0.2939, allocations: 184.3 kB / 0.6777 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/0.294, allocations: 176.3 kB / 0.6779 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001256/0.2941, allocations: 180.2 kB / 0.678 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001262/0.2943, allocations: 184.3 kB / 0.6782 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003032/0.2946, allocations: 331.6 kB / 0.6785 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001662/0.2948, allocations: 186 kB / 0.6787 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/0.2949, allocations: 188.2 kB / 0.6789 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.295, allocations: 109 kB / 0.679 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.2952, allocations: 180.2 kB / 0.6792 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.759e-05/0.2953, allocations: 101 kB / 0.6793 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001814/0.2955, allocations: 160.6 kB / 0.6794 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2955, allocations: 0 / 0.6794 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000314/0.2958, allocations: 24 kB / 0.6794 GB, free: 8.328 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002795/0.2961, allocations: 170.5 kB / 0.6796 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002057/0.2963, allocations: 87.83 kB / 0.6797 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.2963, allocations: 0 / 0.6797 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.927e-06/0.2963, allocations: 0 / 0.6797 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005643/0.2969, allocations: 467.6 kB / 0.6801 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006415/0.2975, allocations: 294.1 kB / 0.6804 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004946/0.298, allocations: 0.7119 MB / 0.6811 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.409e-05/0.2981, allocations: 15.98 kB / 0.6811 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.817e-05/0.2981, allocations: 7.438 kB / 0.6811 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of SimCode: time 6.81e-07/0.2981, allocations: 0 / 0.6811 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of Templates: time 0.004303/0.3024, allocations: 0.75 MB / 0.6819 GB, free: 5.777 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (rm -f Buildings_3.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_3.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1)