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.746/1.746, allocations: 251.9 MB / 266.9 MB, free: 11.06 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.001132/0.001132, allocations: 179.3 kB / 326.5 MB, free: 2.25 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.309/2.309, allocations: 205.4 MB / 0.5775 GB, free: 20.21 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.001034/0.001034, allocations: 90.72 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003536/0.0003537, allocations: 15.33 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2672, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0006957/0.2679, allocations: 297.1 kB / 0.9004 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 3.809e-05/0.2679, allocations: 0 / 0.9004 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.991e-05/0.268, allocations: 0 / 0.9004 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.529e-05/0.268, allocations: 0 / 0.9004 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.777e-05/0.268, allocations: 3.938 kB / 0.9005 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.64e-05/0.2681, allocations: 12 kB / 0.9005 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.274e-05/0.2681, allocations: 0 / 0.9005 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.402e-05/0.2682, allocations: 3.984 kB / 0.9005 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.213e-05/0.2682, allocations: 3.938 kB / 0.9005 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 1.723e-05/0.2682, allocations: 0 / 0.9005 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.2683, allocations: 0 / 0.9005 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.376e-06/0.2683, allocations: 0 / 0.9005 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.127e-06/0.2683, allocations: 4 kB / 0.9005 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.765e-05/0.2683, allocations: 25.7 kB / 0.9005 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 4.577e-05/0.2684, allocations: 3.984 kB / 0.9005 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2684, allocations: 3.938 kB / 0.9005 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.615e-06/0.2684, allocations: 4 kB / 0.9005 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.2684, allocations: 0 / 0.9005 GB, free: 63.48 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.0002611/0.2687, allocations: 308.1 kB / 0.9008 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.2687, allocations: 8.031 kB / 0.9008 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.766e-05/0.2687, allocations: 34.56 kB / 0.9008 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.971e-05/0.2688, allocations: 3.984 kB / 0.9008 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.284e-05/0.2689, allocations: 163 kB / 0.901 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.033e-06/0.2689, allocations: 0 / 0.901 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.2689, allocations: 4 kB / 0.901 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.5e-05/0.269, allocations: 33.64 kB / 0.901 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.331e-06/0.269, allocations: 0 / 0.901 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.084e-06/0.269, allocations: 0 / 0.901 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.269, allocations: 0 / 0.901 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.566e-05/0.269, allocations: 4 kB / 0.901 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002313/0.2693, allocations: 379.5 kB / 0.9014 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.928e-05/0.2693, allocations: 177.1 kB / 0.9016 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/0.2693, allocations: 75.28 kB / 0.9016 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.2694, allocations: 111.2 kB / 0.9018 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.2694, allocations: 0 / 0.9018 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 5.973e-05/0.2694, allocations: 25.7 kB / 0.9018 GB, free: 62 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.2695, allocations: 130.7 kB / 0.9019 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.853e-05/0.2696, allocations: 97.86 kB / 0.902 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.356e-06/0.2696, allocations: 25.7 kB / 0.902 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.944e-05/0.2696, allocations: 88.08 kB / 0.9021 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-06/0.2696, allocations: 3.938 kB / 0.9021 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.11e-07/0.2696, allocations: 0 / 0.9021 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.467e-05/0.2697, allocations: 318.8 kB / 0.9024 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.777e-06/0.2697, allocations: 0 / 0.9024 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.895e-06/0.2697, allocations: 0 / 0.9024 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.817e-05/0.2697, allocations: 79.41 kB / 0.9025 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.539e-05/0.2697, allocations: 75.28 kB / 0.9026 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.772e-05/0.2698, allocations: 33.69 kB / 0.9026 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.2698, allocations: 79.28 kB / 0.9027 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.113e-05/0.2698, allocations: 83.2 kB / 0.9027 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.495e-05/0.2699, allocations: 158.6 kB / 0.9029 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.844e-05/0.2699, allocations: 79.28 kB / 0.903 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.502e-05/0.27, allocations: 158.5 kB / 0.9031 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.947e-05/0.27, allocations: 79.28 kB / 0.9032 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.27, allocations: 83.22 kB / 0.9033 GB, free: 60.41 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.212e-05/0.2701, allocations: 264.3 kB / 0.9035 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.927e-05/0.2702, allocations: 101 kB / 0.9036 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.297e-05/0.2702, allocations: 112 kB / 0.9037 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.719e-05/0.2703, allocations: 184.2 kB / 0.9039 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.401e-05/0.2703, allocations: 180.3 kB / 0.9041 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-05/0.2704, allocations: 185 kB / 0.9043 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.2705, allocations: 401.2 kB / 0.9046 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-05/0.2706, allocations: 104.9 kB / 0.9047 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.679e-05/0.2706, allocations: 113 kB / 0.9048 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.769e-05/0.2706, allocations: 176.3 kB / 0.905 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.194e-05/0.2707, allocations: 184.2 kB / 0.9052 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.313e-05/0.2707, allocations: 176.3 kB / 0.9054 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.012e-05/0.2708, allocations: 180.6 kB / 0.9055 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.2709, allocations: 319.8 kB / 0.9058 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.283e-05/0.2709, allocations: 182 kB / 0.906 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.561e-05/0.271, allocations: 180.3 kB / 0.9062 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.703e-05/0.2711, allocations: 104.9 kB / 0.9063 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.2711, allocations: 184.2 kB / 0.9065 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-05/0.2712, allocations: 105 kB / 0.9066 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.402e-05/0.2712, allocations: 79.28 kB / 0.9066 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8.82e-07/0.2712, allocations: 0 / 0.9066 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002931/0.2715, allocations: 3.938 kB / 0.9066 GB, free: 56.74 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003301/0.2718, allocations: 0.8165 MB / 0.9074 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 4.37e-05/0.2719, allocations: 4 kB / 0.9074 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2719, allocations: 0 / 0.9074 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.2719, allocations: 0 / 0.9074 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.2721, allocations: 0.5185 MB / 0.9079 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005222/0.2727, allocations: 0.4939 MB / 0.9084 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001341/0.2728, allocations: 0.6731 MB / 0.9091 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.002e-05/0.2728, allocations: 0 / 0.9091 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.342e-05/0.2729, allocations: 11.44 kB / 0.9091 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.2729, allocations: 96 / 0.9091 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01057/0.2834, allocations: 0.7341 MB / 0.9098 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001664/0.2837, allocations: 201.6 kB / 0.91 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.41/1.694, allocations: 1.406 kB / 0.91 GB, free: 53.31 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)