Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) Running command: translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001274/0.001274, allocations: 192.8 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.665/1.665, allocations: 205.1 MB / 222.1 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.868/1.868, allocations: 292.2 MB / 0.5485 GB, free: 13.6 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001629/0.00163, allocations: 65.66 kB / 0.671 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4262/0.4278, allocations: 114.6 MB / 0.7829 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003836/0.4318, allocations: 1.274 MB / 0.7841 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004045/0.4322, allocations: 51.81 kB / 0.7841 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.051e-05/0.4323, allocations: 4 kB / 0.7841 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.186e-05/0.4323, allocations: 4 kB / 0.7842 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001992/0.4326, allocations: 7.922 kB / 0.7842 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002769/0.4328, allocations: 11.98 kB / 0.7842 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.433, allocations: 12 kB / 0.7842 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.397e-05/0.4331, allocations: 11.92 kB / 0.7842 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.92e-05/0.4331, allocations: 15.86 kB / 0.7842 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.4333, allocations: 9.5 kB / 0.7842 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.4333, allocations: 0 / 0.7842 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.4334, allocations: 4 kB / 0.7842 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001399/0.4335, allocations: 52.44 kB / 0.7843 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.884e-05/0.4336, allocations: 47.67 kB / 0.7843 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001772/0.4338, allocations: 71.86 kB / 0.7844 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.4338, allocations: 0 / 0.7844 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.476e-06/0.4338, allocations: 0 / 0.7844 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.948e-06/0.4338, allocations: 0 / 0.7844 GB, free: 12.3 MB / 0.6075 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.0006498/0.4345, allocations: 429.6 kB / 0.7848 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.522e-05/0.4346, allocations: 12.03 kB / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.4347, allocations: 92.03 kB / 0.7849 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.4349, allocations: 270.7 kB / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.272e-05/0.435, allocations: 150.6 kB / 0.7853 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.364e-05/0.4351, allocations: 150.6 kB / 0.7854 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.4353, allocations: 116.9 kB / 0.7856 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.571e-05/0.4353, allocations: 75.28 kB / 0.7856 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.581e-05/0.4354, allocations: 158.5 kB / 0.7858 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.518e-05/0.4355, allocations: 150.6 kB / 0.7859 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.901e-05/0.4356, allocations: 150.6 kB / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004675/0.4361, allocations: 0.4899 MB / 0.7865 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.4362, allocations: 173.1 kB / 0.7867 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.841e-05/0.4363, allocations: 80.14 kB / 0.7868 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.585e-05/0.4363, allocations: 75.28 kB / 0.7869 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.881e-05/0.4364, allocations: 105.8 kB / 0.787 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.4364, allocations: 0 / 0.787 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 0.0001208/0.4365, allocations: 33.61 kB / 0.787 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001304/0.4367, allocations: 146.6 kB / 0.7871 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003247/0.437, allocations: 215.1 kB / 0.7873 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.437, allocations: 25.7 kB / 0.7874 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.4372, allocations: 116 kB / 0.7875 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.867e-06/0.4372, allocations: 0 / 0.7875 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.655e-05/0.4372, allocations: 33.7 kB / 0.7875 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001973/0.4374, allocations: 330.8 kB / 0.7878 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.687e-05/0.4375, allocations: 59.95 kB / 0.7879 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.246e-05/0.4376, allocations: 55.97 kB / 0.7879 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002091/0.4379, allocations: 140.3 kB / 0.7881 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.4379, allocations: 0 / 0.7881 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004372/0.4383, allocations: 177.3 kB / 0.7882 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.4383, allocations: 4 kB / 0.7882 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.4384, allocations: 7.875 kB / 0.7882 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.4384, allocations: 3.938 kB / 0.7882 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.176e-06/0.4384, allocations: 4 kB / 0.7882 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.4384, allocations: 0 / 0.7882 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.857e-05/0.4385, allocations: 15.78 kB / 0.7883 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-05/0.4385, allocations: 15.98 kB / 0.7883 GB, free: 8.078 MB / 0.6075 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.0001791/0.4387, allocations: 197.8 kB / 0.7885 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.754e-05/0.4388, allocations: 116.8 kB / 0.7886 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.323e-05/0.4389, allocations: 121.5 kB / 0.7887 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.674e-05/0.439, allocations: 176.3 kB / 0.7889 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-05/0.4391, allocations: 177.3 kB / 0.789 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001121/0.4392, allocations: 188.2 kB / 0.7892 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003856/0.4396, allocations: 437.1 kB / 0.7896 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.946e-05/0.4397, allocations: 104.9 kB / 0.7897 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.025e-05/0.4397, allocations: 109 kB / 0.7898 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001187/0.4399, allocations: 180.3 kB / 0.79 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001263/0.44, allocations: 184.2 kB / 0.7902 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001102/0.4401, allocations: 180.3 kB / 0.7903 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001149/0.4402, allocations: 180.2 kB / 0.7905 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002232/0.4405, allocations: 323.8 kB / 0.7908 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/0.4406, allocations: 197.9 kB / 0.791 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001476/0.4408, allocations: 176.3 kB / 0.7912 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.4409, allocations: 108.9 kB / 0.7913 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.441, allocations: 184.2 kB / 0.7915 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.908e-05/0.4411, allocations: 101 kB / 0.7916 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001798/0.4413, allocations: 164.5 kB / 0.7917 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4413, allocations: 3.938 kB / 0.7917 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002997/0.4416, allocations: 24 kB / 0.7917 GB, free: 4.305 MB / 0.6075 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.0002683/0.4418, allocations: 174.5 kB / 0.7919 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000192/0.442, allocations: 75.95 kB / 0.792 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.442, allocations: 0 / 0.792 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.657e-06/0.4421, allocations: 4 kB / 0.792 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005339/0.4426, allocations: 466.4 kB / 0.7924 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006006/0.4432, allocations: 318.1 kB / 0.7927 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004639/0.4437, allocations: 0.7118 MB / 0.7934 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.057e-05/0.4437, allocations: 15.92 kB / 0.7934 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3e-05/0.4438, allocations: 11.42 kB / 0.7935 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.4438, allocations: 0 / 0.7935 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of Templates: time 0.004275/0.448, allocations: 0.7344 MB / 0.7942 GB, free: 1.746 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (rm -f Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1)