Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_8_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_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 105.4 kB / 15.7 MB, free: 24 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.001668/0.001668, allocations: 196.4 kB / 16.64 MB, free: 6.453 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.602/1.602, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.803/1.803, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001716/0.001716, allocations: 72.8 kB / 0.6718 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2545, allocations: 114.5 MB / 0.7837 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001973/0.2565, allocations: 0.561 MB / 0.7842 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 3.535e-05/0.2565, allocations: 0 / 0.7842 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.364e-05/0.2566, allocations: 3.938 kB / 0.7842 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.385e-05/0.2566, allocations: 0 / 0.7842 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.851e-05/0.2566, allocations: 0 / 0.7842 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.44e-05/0.2567, allocations: 0 / 0.7842 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.516e-05/0.2567, allocations: 4 kB / 0.7842 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.279e-05/0.2568, allocations: 7.984 kB / 0.7842 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.545e-05/0.2568, allocations: 0 / 0.7842 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.008e-05/0.2568, allocations: 3.938 kB / 0.7842 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.2568, allocations: 0 / 0.7842 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.07e-06/0.2569, allocations: 8 kB / 0.7842 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.26e-05/0.2569, allocations: 0 / 0.7842 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.983e-05/0.2569, allocations: 0 / 0.7842 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.685e-05/0.257, allocations: 3.984 kB / 0.7842 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.257, allocations: 0 / 0.7842 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.533e-06/0.257, allocations: 0 / 0.7842 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.257, allocations: 0 / 0.7842 GB, free: 12.66 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002993/0.2573, allocations: 315.6 kB / 0.7845 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.2573, allocations: 8.031 kB / 0.7846 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.373e-05/0.2574, allocations: 34.75 kB / 0.7846 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.173e-05/0.2574, allocations: 8.922 kB / 0.7846 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.2575, allocations: 164.3 kB / 0.7848 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.2575, allocations: 384 / 0.7848 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.73e-06/0.2576, allocations: 4.312 kB / 0.7848 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.888e-05/0.2576, allocations: 30.27 kB / 0.7848 GB, free: 12 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.2577, allocations: 3.938 kB / 0.7848 GB, free: 12 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.712e-06/0.2577, allocations: 0 / 0.7848 GB, free: 12 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.2577, allocations: 3.938 kB / 0.7848 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.428e-05/0.2577, allocations: 0 / 0.7848 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002874/0.258, allocations: 387.4 kB / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.314e-05/0.2581, allocations: 173 kB / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.138e-05/0.2581, allocations: 88.17 kB / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.2581, allocations: 83.3 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.391e-05/0.2582, allocations: 109.8 kB / 0.7856 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.2582, allocations: 0 / 0.7856 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 6.526e-05/0.2583, allocations: 29.64 kB / 0.7856 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.607e-05/0.2583, allocations: 126.7 kB / 0.7857 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.282e-05/0.2584, allocations: 97.86 kB / 0.7858 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.2584, allocations: 25.7 kB / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.969e-05/0.2585, allocations: 84.27 kB / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-06/0.2585, allocations: 0 / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-05/0.2585, allocations: 13.72 kB / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.2586, allocations: 314.8 kB / 0.7863 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.268e-06/0.2586, allocations: 0 / 0.7863 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.586e-06/0.2586, allocations: 0 / 0.7863 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.116e-05/0.2587, allocations: 75.28 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.322e-05/0.2587, allocations: 79.22 kB / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.955e-05/0.2587, allocations: 29.7 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.553e-05/0.2588, allocations: 87.22 kB / 0.7865 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.262e-05/0.2588, allocations: 75.28 kB / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.22e-05/0.2589, allocations: 158.6 kB / 0.7867 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.329e-05/0.2589, allocations: 79.22 kB / 0.7868 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-05/0.259, allocations: 158.5 kB / 0.787 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.681e-05/0.259, allocations: 79.22 kB / 0.787 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/0.2591, allocations: 83.28 kB / 0.7871 GB, free: 9.465 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 (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 0.0001009/0.2592, allocations: 260.6 kB / 0.7874 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.032e-05/0.2592, allocations: 105 kB / 0.7875 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.676e-05/0.2593, allocations: 116.9 kB / 0.7876 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-05/0.2594, allocations: 180.2 kB / 0.7878 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-05/0.2594, allocations: 188.1 kB / 0.7879 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.286e-05/0.2595, allocations: 176.3 kB / 0.7881 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002166/0.2597, allocations: 413.2 kB / 0.7885 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.008e-05/0.2597, allocations: 104.9 kB / 0.7886 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.711e-05/0.2598, allocations: 101 kB / 0.7887 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.186e-05/0.2598, allocations: 180.2 kB / 0.7889 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.427e-05/0.2599, allocations: 188.3 kB / 0.789 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.912e-05/0.26, allocations: 180.6 kB / 0.7892 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.297e-05/0.26, allocations: 184.2 kB / 0.7894 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.2602, allocations: 307.7 kB / 0.7897 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.708e-05/0.2603, allocations: 190 kB / 0.7899 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.841e-05/0.2603, allocations: 184.3 kB / 0.79 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.15e-05/0.2604, allocations: 104.9 kB / 0.7901 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.544e-05/0.2605, allocations: 176.3 kB / 0.7903 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-05/0.2606, allocations: 104.9 kB / 0.7904 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.17e-05/0.2606, allocations: 83.28 kB / 0.7905 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2606, allocations: 0 / 0.7905 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002448/0.2609, allocations: 0 / 0.7905 GB, free: 5.785 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.0004581/0.2613, allocations: 0.8087 MB / 0.7913 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 4.239e-05/0.2614, allocations: 4.031 kB / 0.7913 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2614, allocations: 4 kB / 0.7913 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.2614, allocations: 0 / 0.7913 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.2618, allocations: 470.3 kB / 0.7917 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009888/0.2628, allocations: 1.528 MB / 0.7932 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.263, allocations: 0.6729 MB / 0.7939 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.194e-06/0.2631, allocations: 4 kB / 0.7939 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.99e-05/0.2631, allocations: 11.44 kB / 0.7939 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of SimCode: time 4.71e-07/0.2631, allocations: 0 / 0.7939 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0154/0.2785, allocations: 0.8999 MB / 0.7948 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.284/7.563, allocations: 21.86 kB / 0.7948 GB, free: 1.34 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)