Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.Validation.And,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And",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.63/1.63, allocations: 251.9 MB / 266.9 MB, free: 11.05 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.001286/0.001286, allocations: 186.8 kB / 326.5 MB, free: 2.234 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.156/2.156, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.001125/0.001125, allocations: 98.17 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004505/0.000451, allocations: 13.47 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2697, allocations: 106.3 MB / 0.9002 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001495/0.2712, allocations: 1.087 MB / 0.9012 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003762/0.2716, allocations: 197.8 kB / 0.9014 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.602e-05/0.2717, allocations: 0 / 0.9014 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.56e-05/0.2717, allocations: 7.922 kB / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.678e-05/0.2718, allocations: 3.984 kB / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001379/0.2719, allocations: 23.91 kB / 0.9014 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.551e-05/0.272, allocations: 31.95 kB / 0.9015 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.892e-05/0.2721, allocations: 12 kB / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.328e-05/0.2721, allocations: 15.92 kB / 0.9015 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.726e-05/0.2722, allocations: 19.92 kB / 0.9015 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.2722, allocations: 0 / 0.9015 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.255e-05/0.2723, allocations: 4 kB / 0.9015 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.406e-05/0.2723, allocations: 11.92 kB / 0.9015 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.455e-05/0.2723, allocations: 29.7 kB / 0.9016 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.775e-05/0.2724, allocations: 35.91 kB / 0.9016 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2724, allocations: 0 / 0.9016 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.073e-06/0.2724, allocations: 0 / 0.9016 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.2724, allocations: 4 kB / 0.9016 GB, free: 62.33 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005492/0.273, allocations: 367.5 kB / 0.902 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.273, allocations: 12.03 kB / 0.902 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.947e-05/0.2731, allocations: 38.5 kB / 0.902 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.061e-05/0.2731, allocations: 4 kB / 0.902 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.2732, allocations: 178.9 kB / 0.9022 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.2733, allocations: 4 kB / 0.9022 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.2733, allocations: 8 kB / 0.9022 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.2734, allocations: 41.69 kB / 0.9022 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.2734, allocations: 3.938 kB / 0.9022 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.2734, allocations: 4 kB / 0.9022 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.2734, allocations: 11.97 kB / 0.9022 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.352e-05/0.2735, allocations: 16 kB / 0.9023 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003443/0.2738, allocations: 288.8 kB / 0.9025 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.455e-05/0.2739, allocations: 50.5 kB / 0.9026 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.295e-06/0.274, allocations: 0 / 0.9026 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001454/0.2741, allocations: 71.52 kB / 0.9027 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.2741, allocations: 3.938 kB / 0.9027 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0001898/0.2743, allocations: 85.58 kB / 0.9027 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.2744, allocations: 55.41 kB / 0.9028 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.303e-05/0.2744, allocations: 117.8 kB / 0.9029 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.2744, allocations: 29.7 kB / 0.9029 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.474e-05/0.2745, allocations: 92.11 kB / 0.903 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.542e-05/0.2745, allocations: 11.89 kB / 0.903 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-06/0.2745, allocations: 0 / 0.903 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.473e-05/0.2746, allocations: 322.8 kB / 0.9033 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.594e-05/0.2746, allocations: 15.98 kB / 0.9034 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.674e-05/0.2747, allocations: 38.52 kB / 0.9034 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.725e-05/0.2747, allocations: 12 kB / 0.9034 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2747, allocations: 0 / 0.9034 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.928e-05/0.2748, allocations: 77.53 kB / 0.9035 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.2748, allocations: 8 kB / 0.9035 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2748, allocations: 3.984 kB / 0.9035 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.2748, allocations: 64 / 0.9035 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.676e-05/0.2749, allocations: 8 kB / 0.9035 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.2749, allocations: 4 kB / 0.9035 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.275, allocations: 19.88 kB / 0.9035 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.2751, allocations: 4.703 kB / 0.9035 GB, free: 60.12 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 6.84e-05/0.2751, allocations: 121.8 kB / 0.9036 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.114e-05/0.2752, allocations: 7.906 kB / 0.9036 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.728e-05/0.2752, allocations: 12.38 kB / 0.9037 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.2752, allocations: 3.984 kB / 0.9037 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2752, allocations: 0 / 0.9037 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2752, allocations: 0 / 0.9037 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.2753, allocations: 177.6 kB / 0.9038 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.2753, allocations: 192 / 0.9038 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.838e-06/0.2754, allocations: 7.984 kB / 0.9038 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2754, allocations: 3.938 kB / 0.9038 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.2754, allocations: 0 / 0.9038 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.2754, allocations: 0 / 0.9038 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2754, allocations: 3.938 kB / 0.9038 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001034/0.2755, allocations: 108.9 kB / 0.904 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.761e-05/0.2755, allocations: 85.09 kB / 0.904 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.2756, allocations: 4 kB / 0.904 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.857e-05/0.2756, allocations: 11.98 kB / 0.904 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.842e-05/0.2757, allocations: 11.98 kB / 0.9041 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.2757, allocations: 0 / 0.9041 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.552e-05/0.2757, allocations: 95.27 kB / 0.9042 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2757, allocations: 0 / 0.9042 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001761/0.2759, allocations: 16 kB / 0.9042 GB, free: 59.37 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: 7 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002821/0.2762, allocations: 0.6319 MB / 0.9048 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001006/0.2763, allocations: 47.92 kB / 0.9048 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2763, allocations: 0 / 0.9048 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.312e-05/0.2764, allocations: 27.92 kB / 0.9049 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001798/0.2766, allocations: 11.98 kB / 0.9049 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006545/0.2772, allocations: 0.7914 MB / 0.9056 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.2774, allocations: 0.6868 MB / 0.9063 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.966e-05/0.2774, allocations: 11.98 kB / 0.9063 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.889e-05/0.2774, allocations: 15.44 kB / 0.9063 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.2774, allocations: 0 / 0.9063 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0119/0.2894, allocations: 1.593 MB / 0.9079 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001473/0.2895, allocations: 190.5 kB / 0.9081 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.483/1.773, allocations: 2.875 kB / 0.9081 GB, free: 55.34 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1)