Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",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.403/1.403, allocations: 252 MB / 267.3 MB, free: 10.84 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.001058/0.001058, allocations: 167 kB / 327 MB, free: 2.086 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.893/1.893, allocations: 205.4 MB / 0.578 GB, free: 20.15 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.0007775/0.0007771, allocations: 84.91 kB / 0.6826 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003682/0.0003683, allocations: 8.375 kB / 0.7971 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2702, allocations: 106.3 MB / 0.9009 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0007958/0.2711, allocations: 290 kB / 0.9012 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 4.365e-05/0.2711, allocations: 0 / 0.9012 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.437e-05/0.2712, allocations: 4 kB / 0.9012 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.682e-05/0.2712, allocations: 0 / 0.9012 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.382e-05/0.2712, allocations: 0 / 0.9012 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 2.943e-05/0.2713, allocations: 7.938 kB / 0.9012 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.731e-05/0.2713, allocations: 4 kB / 0.9012 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.751e-05/0.2714, allocations: 0 / 0.9012 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.506e-05/0.2714, allocations: 0 / 0.9012 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.129e-05/0.2714, allocations: 0 / 0.9012 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.2714, allocations: 4 kB / 0.9012 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.957e-06/0.2714, allocations: 0 / 0.9012 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.39e-05/0.2715, allocations: 0 / 0.9012 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.67e-05/0.2715, allocations: 29.7 kB / 0.9013 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.003e-05/0.2716, allocations: 7.922 kB / 0.9013 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2716, allocations: 0 / 0.9013 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2716, allocations: 0 / 0.9013 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.2716, allocations: 0 / 0.9013 GB, free: 62.83 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002128/0.2718, allocations: 313.6 kB / 0.9016 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.2718, allocations: 8.031 kB / 0.9016 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.794e-05/0.2719, allocations: 30.75 kB / 0.9016 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.092e-05/0.2719, allocations: 4.938 kB / 0.9016 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.543e-05/0.272, allocations: 168.4 kB / 0.9018 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.272, allocations: 8.359 kB / 0.9018 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.432e-06/0.272, allocations: 384 / 0.9018 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.674e-05/0.2721, allocations: 26.27 kB / 0.9018 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.2721, allocations: 3.938 kB / 0.9018 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-06/0.2721, allocations: 0 / 0.9018 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.2722, allocations: 4 kB / 0.9018 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.491e-05/0.2722, allocations: 0 / 0.9018 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002533/0.2724, allocations: 387.5 kB / 0.9022 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.974e-05/0.2725, allocations: 173 kB / 0.9023 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.962e-05/0.2725, allocations: 80.14 kB / 0.9024 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.2725, allocations: 75.28 kB / 0.9025 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.2725, allocations: 109.8 kB / 0.9026 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.2726, allocations: 8 kB / 0.9026 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 6.313e-05/0.2726, allocations: 29.64 kB / 0.9026 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.2727, allocations: 130.7 kB / 0.9028 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.868e-05/0.2727, allocations: 93.86 kB / 0.9029 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.37e-06/0.2728, allocations: 25.7 kB / 0.9029 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.884e-05/0.2728, allocations: 84.12 kB / 0.903 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.754e-06/0.2728, allocations: 0 / 0.903 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.01e-07/0.2728, allocations: 128 / 0.903 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.152e-05/0.2729, allocations: 318.8 kB / 0.9033 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.256e-06/0.2729, allocations: 0 / 0.9033 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.665e-06/0.2729, allocations: 0 / 0.9033 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.312e-05/0.2729, allocations: 79.31 kB / 0.9033 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.278e-05/0.2729, allocations: 83.22 kB / 0.9034 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.34e-05/0.273, allocations: 29.64 kB / 0.9034 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.905e-05/0.273, allocations: 91.2 kB / 0.9035 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.273, allocations: 79.28 kB / 0.9036 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.028e-05/0.2731, allocations: 158.5 kB / 0.9038 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.175e-05/0.2731, allocations: 75.28 kB / 0.9038 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.874e-05/0.2731, allocations: 154.6 kB / 0.904 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.778e-05/0.2732, allocations: 83.22 kB / 0.9041 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.2732, allocations: 75.28 kB / 0.9041 GB, free: 59.67 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 (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 prepare postOptimizeDAE: time 6.562e-05/0.2733, allocations: 268.3 kB / 0.9044 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.621e-05/0.2733, allocations: 108.9 kB / 0.9045 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.554e-05/0.2733, allocations: 104.1 kB / 0.9046 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.101e-05/0.2734, allocations: 180.3 kB / 0.9048 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.06e-05/0.2734, allocations: 180.2 kB / 0.9049 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-05/0.2735, allocations: 188.2 kB / 0.9051 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.2736, allocations: 401.1 kB / 0.9055 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-05/0.2736, allocations: 101 kB / 0.9056 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.228e-05/0.2737, allocations: 113 kB / 0.9057 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.885e-05/0.2737, allocations: 180.2 kB / 0.9059 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.71e-05/0.2738, allocations: 180.6 kB / 0.906 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.134e-05/0.2738, allocations: 184.2 kB / 0.9062 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.718e-05/0.2738, allocations: 180.3 kB / 0.9064 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.106e-05/0.2739, allocations: 319.6 kB / 0.9067 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.859e-05/0.274, allocations: 178.1 kB / 0.9069 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.776e-05/0.274, allocations: 184.2 kB / 0.907 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.112e-05/0.2741, allocations: 101 kB / 0.9071 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.773e-05/0.2741, allocations: 196.1 kB / 0.9073 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.2742, allocations: 101 kB / 0.9074 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.449e-05/0.2742, allocations: 75.28 kB / 0.9075 GB, free: 56 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2742, allocations: 0 / 0.9075 GB, free: 56 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002578/0.2745, allocations: 4 kB / 0.9075 GB, free: 55.99 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.0002672/0.2747, allocations: 0.8127 MB / 0.9083 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 3.864e-05/0.2748, allocations: 0 / 0.9083 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2748, allocations: 0 / 0.9083 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.402e-06/0.2748, allocations: 0 / 0.9083 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.2751, allocations: 0.5263 MB / 0.9088 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007312/0.2758, allocations: 1.523 MB / 0.9103 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001557/0.276, allocations: 0.6731 MB / 0.9109 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.458e-06/0.276, allocations: 0 / 0.9109 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.387e-05/0.276, allocations: 7.531 kB / 0.911 GB, free: 52.31 MB / 0.6042 GB Notification: Performance of SimCode: time 4.01e-07/0.2761, allocations: 4 kB / 0.911 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01103/0.2871, allocations: 0.7529 MB / 0.9117 GB, free: 51.72 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001587/0.2873, allocations: 225.3 kB / 0.9119 GB, free: 51.46 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.714/2.001, allocations: 0 / 0.9119 GB, free: 51.46 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)