Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.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.Validation.Switch,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Switch",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.001254/0.001254, allocations: 108 kB / 15.6 MB, free: 132 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.001116/0.001115, allocations: 193.3 kB / 16.53 MB, free: 6.391 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.916/1.916, allocations: 205.1 MB / 222.4 MB, free: 4.566 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.779/1.779, allocations: 292.3 MB / 0.5489 GB, free: 12.88 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.001469/0.001469, allocations: 72.05 kB / 0.6716 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2695, allocations: 114.6 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.002952/0.2725, allocations: 0.7753 MB / 0.7843 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001795/0.2743, allocations: 1.125 MB / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.149e-05/0.2745, allocations: 4 kB / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.357e-05/0.2745, allocations: 3.938 kB / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.573e-05/0.2746, allocations: 7.875 kB / 0.7854 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005988/0.2752, allocations: 138.8 kB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002185/0.2755, allocations: 139.7 kB / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.2756, allocations: 16 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.2757, allocations: 51.84 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.769e-05/0.2758, allocations: 51.8 kB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.459e-05/0.2759, allocations: 12 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.202e-05/0.276, allocations: 23.98 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.765e-05/0.276, allocations: 8 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.517e-05/0.2761, allocations: 43.84 kB / 0.7858 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.2763, allocations: 127.9 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2763, allocations: 0 / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.914e-06/0.2764, allocations: 4 kB / 0.786 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.2764, allocations: 4 kB / 0.786 GB, free: 10.84 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007271/0.2771, allocations: 415.5 kB / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.2772, allocations: 12.03 kB / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.384e-05/0.2772, allocations: 38.69 kB / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.358e-05/0.2773, allocations: 8.844 kB / 0.7864 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.2774, allocations: 176.2 kB / 0.7866 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.2775, allocations: 8.375 kB / 0.7866 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.837e-05/0.2775, allocations: 12.38 kB / 0.7866 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000282/0.2778, allocations: 78.2 kB / 0.7867 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.2778, allocations: 3.938 kB / 0.7867 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.2778, allocations: 3.938 kB / 0.7867 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.2778, allocations: 0 / 0.7867 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003132/0.2782, allocations: 75.86 kB / 0.7868 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005261/0.2787, allocations: 324.7 kB / 0.7871 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/0.2789, allocations: 59.59 kB / 0.7871 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.2791, allocations: 44.91 kB / 0.7872 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.2791, allocations: 0 / 0.7872 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003633/0.2795, allocations: 103.3 kB / 0.7873 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.2795, allocations: 0 / 0.7873 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0006183/0.2801, allocations: 165.5 kB / 0.7874 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.2801, allocations: 51.41 kB / 0.7875 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.2803, allocations: 118.1 kB / 0.7876 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.2803, allocations: 29.7 kB / 0.7876 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.168e-05/0.2804, allocations: 92.12 kB / 0.7877 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.2804, allocations: 19.75 kB / 0.7877 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.046e-05/0.2805, allocations: 33.7 kB / 0.7877 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.2806, allocations: 326.8 kB / 0.7881 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002186/0.2808, allocations: 59.89 kB / 0.7881 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.2811, allocations: 82.52 kB / 0.7882 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003642/0.2814, allocations: 144.3 kB / 0.7883 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.2815, allocations: 3.938 kB / 0.7883 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005362/0.282, allocations: 211.1 kB / 0.7885 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.367e-05/0.2821, allocations: 41.69 kB / 0.7886 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/0.2821, allocations: 3.938 kB / 0.7886 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.2821, allocations: 0 / 0.7886 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.2823, allocations: 15.98 kB / 0.7886 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.2823, allocations: 4 kB / 0.7886 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002565/0.2825, allocations: 43.98 kB / 0.7886 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.469e-05/0.2826, allocations: 8 kB / 0.7886 GB, free: 7.801 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.0001071/0.2827, allocations: 118.4 kB / 0.7888 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.979e-05/0.2827, allocations: 11.89 kB / 0.7888 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.347e-05/0.2827, allocations: 8.375 kB / 0.7888 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.2828, allocations: 0 / 0.7888 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.2828, allocations: 0 / 0.7888 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2828, allocations: 4 kB / 0.7888 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.2829, allocations: 185.6 kB / 0.789 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2829, allocations: 8.25 kB / 0.789 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.283, allocations: 23.91 kB / 0.789 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.2831, allocations: 4 kB / 0.789 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.2831, allocations: 0 / 0.789 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.2831, allocations: 0 / 0.789 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2831, allocations: 0 / 0.789 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003939/0.2835, allocations: 156.9 kB / 0.7891 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.392e-05/0.2835, allocations: 85.02 kB / 0.7892 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.2836, allocations: 0 / 0.7892 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.256e-05/0.2836, allocations: 11.98 kB / 0.7892 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-05/0.2837, allocations: 7.984 kB / 0.7892 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.2837, allocations: 4 kB / 0.7893 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.165e-05/0.2838, allocations: 91.27 kB / 0.7893 GB, free: 7 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2838, allocations: 4 kB / 0.7893 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002299/0.284, allocations: 27.94 kB / 0.7894 GB, free: 6.969 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0007268/0.2848, allocations: 0.702 MB / 0.7901 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005299/0.2853, allocations: 191.2 kB / 0.7902 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.2853, allocations: 0 / 0.7902 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001832/0.2855, allocations: 43.97 kB / 0.7903 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.2858, allocations: 26.7 kB / 0.7903 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/0.2882, allocations: 1.619 MB / 0.7919 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.2885, allocations: 0.6924 MB / 0.7926 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.264e-05/0.2886, allocations: 0 / 0.7926 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.039e-05/0.2886, allocations: 19.44 kB / 0.7926 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of SimCode: time 3.1e-07/0.2886, allocations: 0 / 0.7926 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02272/0.3114, allocations: 2.653 MB / 0.7952 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.674/7.986, allocations: 7.188 kB / 0.7952 GB, free: 0.9375 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Switch_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Switch.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1)