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: "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.499/1.499, allocations: 252 MB / 267.3 MB, free: 10.83 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.001096/0.001096, allocations: 168 kB / 327 MB, free: 2.094 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.302/2.302, allocations: 205.4 MB / 0.578 GB, free: 20.05 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.0009207/0.0009205, allocations: 89.92 kB / 0.6826 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004782/0.0004782, allocations: 7.219 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3421, allocations: 106.3 MB / 0.9009 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002209/0.3444, allocations: 0.9424 MB / 0.9018 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004656/0.3449, allocations: 61.11 kB / 0.9019 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.507e-05/0.345, allocations: 0 / 0.9019 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.619e-05/0.3451, allocations: 3.938 kB / 0.9019 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002883/0.3454, allocations: 3.984 kB / 0.9019 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002344/0.3456, allocations: 15.98 kB / 0.9019 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.3457, allocations: 39.91 kB / 0.902 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.229e-05/0.3458, allocations: 0 / 0.902 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.123e-05/0.3459, allocations: 4 kB / 0.902 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.702e-05/0.346, allocations: 17.47 kB / 0.902 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.346, allocations: 0 / 0.902 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.878e-05/0.3461, allocations: 7.938 kB / 0.902 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.3462, allocations: 48.44 kB / 0.902 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.103e-05/0.3463, allocations: 69.39 kB / 0.9021 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.3465, allocations: 60 kB / 0.9022 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.3465, allocations: 4 kB / 0.9022 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.625e-06/0.3465, allocations: 0 / 0.9022 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.256e-06/0.3465, allocations: 0 / 0.9022 GB, free: 62.08 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.0004953/0.347, allocations: 418.9 kB / 0.9026 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.015e-05/0.3471, allocations: 8.031 kB / 0.9026 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.219e-05/0.3471, allocations: 106 kB / 0.9027 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.476e-05/0.3472, allocations: 91.97 kB / 0.9028 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.3474, allocations: 262.6 kB / 0.903 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.685e-05/0.3475, allocations: 162.5 kB / 0.9032 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.356e-05/0.3475, allocations: 150.6 kB / 0.9033 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.877e-05/0.3476, allocations: 108.9 kB / 0.9034 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/0.3476, allocations: 75.28 kB / 0.9035 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.973e-05/0.3477, allocations: 150.6 kB / 0.9036 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-05/0.3477, allocations: 154.6 kB / 0.9038 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.339e-05/0.3478, allocations: 154.5 kB / 0.9039 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000341/0.3481, allocations: 0.49 MB / 0.9044 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.332e-05/0.3482, allocations: 169.1 kB / 0.9046 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.027e-05/0.3483, allocations: 84.14 kB / 0.9046 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.3483, allocations: 79.28 kB / 0.9047 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.3483, allocations: 109.8 kB / 0.9048 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.213e-06/0.3483, allocations: 0 / 0.9048 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 0.0001047/0.3485, allocations: 41.45 kB / 0.9049 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.325e-05/0.3485, allocations: 130.7 kB / 0.905 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002485/0.3488, allocations: 231 kB / 0.9052 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.3488, allocations: 29.7 kB / 0.9052 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.04e-05/0.3489, allocations: 112 kB / 0.9053 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.747e-06/0.3489, allocations: 0 / 0.9053 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.552e-06/0.3489, allocations: 0 / 0.9053 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.349, allocations: 326.8 kB / 0.9056 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.278e-05/0.3491, allocations: 55.97 kB / 0.9057 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.933e-05/0.3492, allocations: 59.33 kB / 0.9058 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.3494, allocations: 140.7 kB / 0.9059 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3494, allocations: 4.031 kB / 0.9059 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003452/0.3497, allocations: 173.5 kB / 0.9061 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.3498, allocations: 4 kB / 0.9061 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.3498, allocations: 0 / 0.9061 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.3498, allocations: 0 / 0.9061 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.473e-06/0.3498, allocations: 0 / 0.9061 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.3498, allocations: 4 kB / 0.9061 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.178e-05/0.3499, allocations: 19.62 kB / 0.9061 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.731e-05/0.3499, allocations: 8 kB / 0.9061 GB, free: 57.81 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.0001391/0.3501, allocations: 205.1 kB / 0.9063 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.535e-05/0.3501, allocations: 120.7 kB / 0.9064 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.189e-05/0.3502, allocations: 113.5 kB / 0.9065 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.449e-05/0.3503, allocations: 180.3 kB / 0.9067 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.35e-05/0.3504, allocations: 180.2 kB / 0.9069 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.82e-05/0.3504, allocations: 192.1 kB / 0.907 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002307/0.3507, allocations: 441.1 kB / 0.9075 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.293e-05/0.3507, allocations: 101 kB / 0.9076 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.115e-05/0.3508, allocations: 105 kB / 0.9077 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-05/0.3508, allocations: 180.2 kB / 0.9078 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/0.3509, allocations: 176.3 kB / 0.908 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.284e-05/0.351, allocations: 192.2 kB / 0.9082 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.38e-05/0.351, allocations: 184.3 kB / 0.9084 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.3512, allocations: 311.9 kB / 0.9087 GB, free: 55.01 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.754e-05/0.3513, allocations: 193.9 kB / 0.9088 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.376e-05/0.3513, allocations: 188.2 kB / 0.909 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.289e-05/0.3514, allocations: 105 kB / 0.9091 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.294e-05/0.3515, allocations: 180.2 kB / 0.9093 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.707e-05/0.3515, allocations: 108.9 kB / 0.9094 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001037/0.3516, allocations: 160.6 kB / 0.9095 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3516, allocations: 0 / 0.9095 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000274/0.3519, allocations: 20 kB / 0.9096 GB, free: 54.02 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.0003785/0.3523, allocations: 0.8164 MB / 0.9104 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000135/0.3524, allocations: 83.89 kB / 0.9104 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/0.3525, allocations: 0 / 0.9104 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.3525, allocations: 0 / 0.9104 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.3528, allocations: 0.5374 MB / 0.911 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001938/0.3548, allocations: 2.133 MB / 0.9131 GB, free: 50.34 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.3551, allocations: 0.7082 MB / 0.9137 GB, free: 49.61 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.609e-05/0.3551, allocations: 7.984 kB / 0.9138 GB, free: 49.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.415e-05/0.3552, allocations: 35.41 kB / 0.9138 GB, free: 49.56 MB / 0.6042 GB Notification: Performance of SimCode: time 3.7e-07/0.3552, allocations: 0 / 0.9138 GB, free: 49.56 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01281/0.368, allocations: 2.541 MB / 0.9163 GB, free: 47.19 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000161/0.3682, allocations: 227 kB / 0.9165 GB, free: 46.94 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.054/2.422, allocations: 0 / 0.9165 GB, free: 46.94 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.fmu > Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1)