Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.633/1.633, allocations: 288.2 MB / 303.2 MB, free: 8.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001055/0.001054, allocations: 177.1 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.751/1.751, allocations: 205.4 MB / 0.6305 GB, free: 9.973 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009842/0.0009843, allocations: 105.7 kB / 0.7439 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000417/0.000417, allocations: 15.88 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2707, allocations: 115.3 MB / 0.9795 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0008564/0.2716, allocations: 292.5 kB / 0.9798 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 3.508e-05/0.2717, allocations: 0 / 0.9798 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.955e-05/0.2717, allocations: 3.938 kB / 0.9798 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.224e-05/0.2718, allocations: 0 / 0.9798 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.502e-05/0.2718, allocations: 3.938 kB / 0.9798 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.22e-05/0.2718, allocations: 0 / 0.9798 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.829e-05/0.2719, allocations: 4 kB / 0.9798 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.135e-05/0.272, allocations: 0 / 0.9798 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.644e-05/0.272, allocations: 4 kB / 0.9798 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.063e-05/0.272, allocations: 0 / 0.9798 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.272, allocations: 0 / 0.9798 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.198e-06/0.272, allocations: 0 / 0.9798 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.095e-05/0.2721, allocations: 0 / 0.9798 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.969e-05/0.2721, allocations: 33.7 kB / 0.9798 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 4.519e-05/0.2721, allocations: 3.984 kB / 0.9798 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2722, allocations: 0 / 0.9798 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2722, allocations: 0 / 0.9798 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.2722, allocations: 0 / 0.9798 GB, free: 27.23 MB / 0.6198 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.0002573/0.2724, allocations: 303.4 kB / 0.9801 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.2725, allocations: 20.08 kB / 0.9801 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.7e-05/0.2725, allocations: 30.56 kB / 0.9802 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.222e-05/0.2725, allocations: 0 / 0.9802 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.2727, allocations: 171 kB / 0.9803 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.784e-06/0.2727, allocations: 0 / 0.9803 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.798e-06/0.2727, allocations: 0 / 0.9803 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.716e-05/0.2728, allocations: 31.42 kB / 0.9804 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.2728, allocations: 0 / 0.9804 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.2728, allocations: 4 kB / 0.9804 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.2728, allocations: 7.938 kB / 0.9804 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.557e-05/0.2728, allocations: 0 / 0.9804 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002534/0.2731, allocations: 387.4 kB / 0.9807 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.325e-05/0.2732, allocations: 173.1 kB / 0.9809 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.2732, allocations: 75.28 kB / 0.981 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.2732, allocations: 109.8 kB / 0.9811 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.2732, allocations: 0 / 0.9811 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.638e-05/0.2733, allocations: 25.7 kB / 0.9811 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.2733, allocations: 130.6 kB / 0.9812 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.2735, allocations: 101.8 kB / 0.9813 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.055e-06/0.2735, allocations: 25.7 kB / 0.9814 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.271e-05/0.2735, allocations: 88.25 kB / 0.9814 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-06/0.2735, allocations: 0 / 0.9814 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-07/0.2735, allocations: 4 kB / 0.9814 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.263e-05/0.2736, allocations: 314.8 kB / 0.9817 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.718e-06/0.2736, allocations: 0 / 0.9817 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.925e-06/0.2736, allocations: 3.938 kB / 0.9817 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.718e-05/0.2736, allocations: 75.28 kB / 0.9818 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.515e-05/0.2737, allocations: 75.28 kB / 0.9819 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.849e-05/0.2737, allocations: 29.7 kB / 0.9819 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.2738, allocations: 83.28 kB / 0.982 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/0.2738, allocations: 87.2 kB / 0.9821 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.722e-05/0.2738, allocations: 154.6 kB / 0.9822 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.513e-05/0.2738, allocations: 83.22 kB / 0.9823 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.104e-05/0.2739, allocations: 150.6 kB / 0.9825 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.063e-05/0.2739, allocations: 75.28 kB / 0.9825 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.274, allocations: 83.22 kB / 0.9826 GB, free: 24.16 MB / 0.6198 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.694e-05/0.2741, allocations: 268.6 kB / 0.9829 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.244e-05/0.2741, allocations: 105 kB / 0.983 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.436e-05/0.2741, allocations: 108 kB / 0.9831 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.907e-05/0.2742, allocations: 181.3 kB / 0.9832 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.533e-05/0.2742, allocations: 184.2 kB / 0.9834 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.001e-05/0.2742, allocations: 180.2 kB / 0.9836 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.2744, allocations: 409.2 kB / 0.984 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-05/0.2744, allocations: 104.9 kB / 0.9841 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.84e-05/0.2744, allocations: 101 kB / 0.9842 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.058e-05/0.2745, allocations: 188.2 kB / 0.9844 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.447e-05/0.2745, allocations: 188.2 kB / 0.9845 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.02e-05/0.2746, allocations: 180.6 kB / 0.9847 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-05/0.2746, allocations: 184.2 kB / 0.9849 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.339e-05/0.2747, allocations: 311.7 kB / 0.9852 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.489e-05/0.2747, allocations: 186.1 kB / 0.9854 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.273e-05/0.2748, allocations: 180.3 kB / 0.9855 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.119e-05/0.2749, allocations: 104.9 kB / 0.9856 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/0.2749, allocations: 180.2 kB / 0.9858 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.906e-05/0.2749, allocations: 104.9 kB / 0.9859 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.335e-05/0.275, allocations: 79.28 kB / 0.986 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.8e-07/0.275, allocations: 4.094 kB / 0.986 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002845/0.2753, allocations: 0 / 0.986 GB, free: 20.48 MB / 0.6198 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.0002691/0.2755, allocations: 0.8048 MB / 0.9868 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 4.547e-05/0.2756, allocations: 0 / 0.9868 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2756, allocations: 8 kB / 0.9868 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.874e-06/0.2756, allocations: 3.938 kB / 0.9868 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.2758, allocations: 0.5234 MB / 0.9873 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004694/0.2763, allocations: 0.4899 MB / 0.9878 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.2765, allocations: 0.677 MB / 0.9884 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.748e-06/0.2765, allocations: 0 / 0.9884 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.401e-05/0.2765, allocations: 11.44 kB / 0.9884 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2765, allocations: 0 / 0.9884 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01176/0.2883, allocations: 0.7306 MB / 0.9891 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001632/0.2885, allocations: 211.4 kB / 0.9894 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.473/1.761, allocations: 0 / 0.9894 GB, free: 17.04 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)