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: "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_8_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_8_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.001311, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.79/1.79, allocations: 205.1 MB / 222.4 MB, free: 4.578 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.817/1.817, allocations: 292.3 MB / 0.5489 GB, free: 13.49 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.001843/0.001843, allocations: 69.22 kB / 0.6716 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2685, allocations: 114.5 MB / 0.7835 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002799/0.2713, allocations: 1.228 MB / 0.7847 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002837/0.2716, allocations: 51.83 kB / 0.7847 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.452e-05/0.2717, allocations: 0 / 0.7847 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.684e-05/0.2718, allocations: 3.938 kB / 0.7847 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001205/0.2719, allocations: 7.969 kB / 0.7847 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001738/0.2721, allocations: 4 kB / 0.7847 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.368e-05/0.2722, allocations: 19.92 kB / 0.7847 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.018e-05/0.2722, allocations: 4 kB / 0.7847 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.9e-05/0.2723, allocations: 11.92 kB / 0.7848 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.6e-05/0.2724, allocations: 12.73 kB / 0.7848 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.2724, allocations: 0 / 0.7848 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.049e-05/0.2725, allocations: 4 kB / 0.7848 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.288e-05/0.2726, allocations: 52.38 kB / 0.7848 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.944e-05/0.2726, allocations: 39.69 kB / 0.7849 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.2728, allocations: 75.88 kB / 0.7849 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2728, allocations: 0 / 0.7849 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2728, allocations: 0 / 0.7849 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.2728, allocations: 0 / 0.7849 GB, free: 11.96 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.0004745/0.2733, allocations: 434.8 kB / 0.7854 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.2733, allocations: 8.031 kB / 0.7854 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.548e-05/0.2734, allocations: 110 kB / 0.7855 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.089e-05/0.2735, allocations: 84.03 kB / 0.7855 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.2737, allocations: 275.2 kB / 0.7858 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.307e-05/0.2737, allocations: 154.5 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.493e-05/0.2738, allocations: 158.6 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.201e-05/0.2739, allocations: 101 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.108e-05/0.2739, allocations: 83.22 kB / 0.7863 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.619e-05/0.274, allocations: 150.6 kB / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.004e-05/0.274, allocations: 150.6 kB / 0.7866 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.376e-05/0.2741, allocations: 150.6 kB / 0.7867 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000363/0.2745, allocations: 0.5016 MB / 0.7872 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.061e-05/0.2745, allocations: 165.1 kB / 0.7874 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.251e-05/0.2746, allocations: 84.08 kB / 0.7874 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.2746, allocations: 79.27 kB / 0.7875 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.777e-05/0.2747, allocations: 113.8 kB / 0.7876 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.2747, allocations: 0 / 0.7876 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 9.04e-05/0.2748, allocations: 33.61 kB / 0.7877 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.445e-05/0.2748, allocations: 130.7 kB / 0.7878 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/0.2751, allocations: 223 kB / 0.788 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.2751, allocations: 25.7 kB / 0.788 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.7e-05/0.2752, allocations: 112 kB / 0.7881 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.895e-06/0.2752, allocations: 4 kB / 0.7881 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-05/0.2752, allocations: 37.69 kB / 0.7882 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.2754, allocations: 330.8 kB / 0.7885 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.118e-05/0.2755, allocations: 59.91 kB / 0.7885 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.991e-05/0.2755, allocations: 58.39 kB / 0.7886 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.2757, allocations: 132.8 kB / 0.7887 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2757, allocations: 4 kB / 0.7887 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003333/0.2761, allocations: 176.4 kB / 0.7889 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.2761, allocations: 7.938 kB / 0.7889 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.2761, allocations: 4.062 kB / 0.7889 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.2761, allocations: 0 / 0.7889 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.2761, allocations: 0 / 0.7889 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.2761, allocations: 0 / 0.7889 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.722e-05/0.2762, allocations: 15.84 kB / 0.7889 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.2762, allocations: 4 kB / 0.7889 GB, free: 7.629 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.0001284/0.2763, allocations: 209.6 kB / 0.7891 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.517e-05/0.2764, allocations: 112.8 kB / 0.7892 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.914e-05/0.2765, allocations: 125.5 kB / 0.7893 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-05/0.2765, allocations: 180.2 kB / 0.7895 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.958e-05/0.2766, allocations: 176.3 kB / 0.7897 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.725e-05/0.2767, allocations: 180.2 kB / 0.7899 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.2769, allocations: 446.2 kB / 0.7903 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-05/0.277, allocations: 105 kB / 0.7904 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.361e-05/0.277, allocations: 108.9 kB / 0.7905 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.959e-05/0.2771, allocations: 184.3 kB / 0.7907 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.955e-05/0.2771, allocations: 180.2 kB / 0.7908 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.046e-05/0.2772, allocations: 180.2 kB / 0.791 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.626e-05/0.2773, allocations: 176.3 kB / 0.7912 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.2774, allocations: 323.8 kB / 0.7915 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.658e-05/0.2775, allocations: 197.8 kB / 0.7917 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.767e-05/0.2776, allocations: 176.3 kB / 0.7918 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.532e-05/0.2777, allocations: 113 kB / 0.7919 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.519e-05/0.2778, allocations: 184.2 kB / 0.7921 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.458e-05/0.2778, allocations: 101 kB / 0.7922 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001205/0.2779, allocations: 164.5 kB / 0.7924 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.8e-07/0.2779, allocations: 0 / 0.7924 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002537/0.2782, allocations: 20 kB / 0.7924 GB, free: 3.848 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.0004248/0.2786, allocations: 0.8281 MB / 0.7932 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001413/0.2788, allocations: 75.95 kB / 0.7933 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2788, allocations: 0 / 0.7933 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.035e-06/0.2788, allocations: 0 / 0.7933 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003812/0.2792, allocations: 459.7 kB / 0.7937 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/0.2812, allocations: 2.121 MB / 0.7958 GB, free: 268 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.2816, allocations: 0.7119 MB / 0.7965 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 2.393e-05/0.2816, allocations: 7.984 kB / 0.7965 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.264e-05/0.2816, allocations: 35.36 kB / 0.7965 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of SimCode: time 6.31e-07/0.2816, allocations: 0 / 0.7965 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02013/0.3018, allocations: 2.724 MB / 0.7992 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.3/7.602, allocations: 15.81 kB / 0.7992 GB, free: 12.83 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.fmu > Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1)