Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.47/1.47, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001252/0.001252, allocations: 176.4 kB / 326.5 MB, free: 2.68 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.134/2.134, allocations: 205 MB / 0.5766 GB, free: 20.95 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008673/0.0008671, allocations: 94.3 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003462/0.0003462, allocations: 12.05 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2731, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001869/0.2751, allocations: 0.9474 MB / 0.8977 GB, free: 67.2 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003712/0.2755, allocations: 51.81 kB / 0.8977 GB, free: 67.15 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.9e-05/0.2755, allocations: 3.938 kB / 0.8977 GB, free: 67.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.428e-05/0.2756, allocations: 0 / 0.8977 GB, free: 67.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002133/0.2758, allocations: 15.98 kB / 0.8977 GB, free: 67.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001866/0.276, allocations: 11.92 kB / 0.8977 GB, free: 67.12 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.641e-05/0.2761, allocations: 31.97 kB / 0.8978 GB, free: 67.09 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.974e-05/0.2762, allocations: 0 / 0.8978 GB, free: 67.09 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.806e-05/0.2763, allocations: 4 kB / 0.8978 GB, free: 67.09 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.773e-05/0.2764, allocations: 25.41 kB / 0.8978 GB, free: 67.06 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.2764, allocations: 0 / 0.8978 GB, free: 67.06 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.552e-05/0.2765, allocations: 8 kB / 0.8978 GB, free: 67.05 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.2766, allocations: 52.38 kB / 0.8979 GB, free: 67 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.173e-05/0.2767, allocations: 31.75 kB / 0.8979 GB, free: 66.97 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.2768, allocations: 56.12 kB / 0.8979 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.2768, allocations: 0 / 0.8979 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.815e-06/0.2768, allocations: 0 / 0.8979 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.2768, allocations: 0 / 0.8979 GB, free: 66.91 MB / 0.6042 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.0004676/0.2773, allocations: 414.7 kB / 0.8983 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.2774, allocations: 8.031 kB / 0.8983 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.143e-05/0.2775, allocations: 84.12 kB / 0.8984 GB, free: 66.37 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.2776, allocations: 266.8 kB / 0.8987 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.537e-05/0.2777, allocations: 166.5 kB / 0.8988 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.915e-05/0.2777, allocations: 150.6 kB / 0.899 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.75e-05/0.2778, allocations: 101 kB / 0.8991 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.2778, allocations: 79.22 kB / 0.8992 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.16e-05/0.2778, allocations: 150.6 kB / 0.8993 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.157e-05/0.2779, allocations: 154.6 kB / 0.8994 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.251e-05/0.2779, allocations: 151.3 kB / 0.8996 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000337/0.2783, allocations: 0.4938 MB / 0.9001 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.538e-05/0.2784, allocations: 165.1 kB / 0.9002 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.598e-05/0.2784, allocations: 84.08 kB / 0.9003 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.2784, allocations: 83.28 kB / 0.9004 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.2785, allocations: 113.9 kB / 0.9005 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.573e-06/0.2785, allocations: 0 / 0.9005 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 0.0001099/0.2786, allocations: 37.52 kB / 0.9005 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.2786, allocations: 130.6 kB / 0.9007 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002626/0.2789, allocations: 227 kB / 0.9009 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.2789, allocations: 33.7 kB / 0.9009 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.183e-05/0.279, allocations: 108.1 kB / 0.901 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.296e-06/0.279, allocations: 0 / 0.901 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.678e-05/0.2791, allocations: 29.7 kB / 0.901 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.907e-05/0.2791, allocations: 330.8 kB / 0.9014 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.875e-05/0.2793, allocations: 59.89 kB / 0.9014 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.03e-05/0.2793, allocations: 55.95 kB / 0.9015 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/0.2796, allocations: 136.7 kB / 0.9016 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.2796, allocations: 0 / 0.9016 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003585/0.2799, allocations: 177.4 kB / 0.9018 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.28, allocations: 4 kB / 0.9018 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.28, allocations: 0 / 0.9018 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.28, allocations: 4 kB / 0.9018 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.914e-06/0.28, allocations: 3.984 kB / 0.9018 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.28, allocations: 0 / 0.9018 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.282e-05/0.2801, allocations: 15.75 kB / 0.9018 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.359e-05/0.2801, allocations: 11.88 kB / 0.9018 GB, free: 62.73 MB / 0.6042 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.0001061/0.2802, allocations: 209.1 kB / 0.902 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.627e-05/0.2803, allocations: 116.8 kB / 0.9021 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.309e-05/0.2804, allocations: 109.5 kB / 0.9022 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.508e-05/0.2804, allocations: 180.2 kB / 0.9024 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.41e-05/0.2804, allocations: 184.2 kB / 0.9026 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.305e-05/0.2805, allocations: 180.2 kB / 0.9027 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.2807, allocations: 441.1 kB / 0.9032 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.226e-05/0.2807, allocations: 109 kB / 0.9033 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.429e-05/0.2808, allocations: 108.9 kB / 0.9034 GB, free: 61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.192e-05/0.2808, allocations: 177.1 kB / 0.9035 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.726e-05/0.2809, allocations: 180.2 kB / 0.9037 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.558e-05/0.2809, allocations: 180.3 kB / 0.9039 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.776e-05/0.2809, allocations: 180.3 kB / 0.9041 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001089/0.2811, allocations: 319.6 kB / 0.9044 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.457e-05/0.2811, allocations: 194.1 kB / 0.9045 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.441e-05/0.2812, allocations: 180.3 kB / 0.9047 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.684e-05/0.2813, allocations: 113 kB / 0.9048 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.151e-05/0.2814, allocations: 184.2 kB / 0.905 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/0.2814, allocations: 105 kB / 0.9051 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001342/0.2816, allocations: 164.5 kB / 0.9053 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2816, allocations: 0 / 0.9053 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003688/0.282, allocations: 16 kB / 0.9053 GB, free: 58.95 MB / 0.6042 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.0001783/0.2822, allocations: 183.5 kB / 0.9054 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001767/0.2823, allocations: 87.83 kB / 0.9055 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.2824, allocations: 0 / 0.9055 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.116e-06/0.2824, allocations: 0 / 0.9055 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004132/0.2828, allocations: 0.5224 MB / 0.906 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004985/0.2833, allocations: 349.7 kB / 0.9064 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001908/0.2835, allocations: 0.7082 MB / 0.9071 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.95e-05/0.2835, allocations: 7.438 kB / 0.9071 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of SimCode: time 3.61e-07/0.2836, allocations: 4 kB / 0.9071 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of Templates: time 0.003371/0.2869, allocations: 1.102 MB / 0.9082 GB, free: 55.91 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1)