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.And3.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.And3,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And3,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And3",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.418/1.418, allocations: 252 MB / 267.3 MB, free: 10.84 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.00112/0.001119, allocations: 174.7 kB / 327 MB, free: 2.094 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.113/2.113, allocations: 205.4 MB / 0.578 GB, free: 20.12 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.0009047/0.0009045, allocations: 82.34 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005083/0.0005083, allocations: 9.375 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3193, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.001991/0.3214, allocations: 1.155 MB / 0.9021 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005374/0.322, allocations: 220.3 kB / 0.9023 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.787e-05/0.3221, allocations: 4 kB / 0.9023 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.658e-05/0.3221, allocations: 3.938 kB / 0.9023 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001213/0.3222, allocations: 19.84 kB / 0.9023 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002101/0.3224, allocations: 19.98 kB / 0.9023 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001411/0.3226, allocations: 79.72 kB / 0.9024 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.3228, allocations: 16.17 kB / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.989e-05/0.3229, allocations: 23.88 kB / 0.9024 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.524e-05/0.3229, allocations: 35.83 kB / 0.9025 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.598e-05/0.323, allocations: 4 kB / 0.9025 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.717e-05/0.323, allocations: 4 kB / 0.9025 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.701e-05/0.323, allocations: 11.92 kB / 0.9025 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.232e-05/0.3231, allocations: 57.5 kB / 0.9025 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001147/0.3232, allocations: 63.8 kB / 0.9026 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3232, allocations: 0 / 0.9026 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.755e-06/0.3233, allocations: 0 / 0.9026 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.3233, allocations: 0 / 0.9026 GB, free: 61.66 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006446/0.3239, allocations: 407.5 kB / 0.903 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.324, allocations: 12.03 kB / 0.903 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.484e-05/0.324, allocations: 30.75 kB / 0.903 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.234e-05/0.3241, allocations: 8.938 kB / 0.903 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.3242, allocations: 184.2 kB / 0.9032 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.3243, allocations: 4.375 kB / 0.9032 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.3243, allocations: 8.375 kB / 0.9032 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.3244, allocations: 65.92 kB / 0.9033 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.3245, allocations: 4 kB / 0.9033 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.3245, allocations: 0 / 0.9033 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3245, allocations: 0 / 0.9033 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.944e-05/0.3246, allocations: 39.92 kB / 0.9033 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004886/0.3251, allocations: 308.7 kB / 0.9036 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.707e-05/0.3252, allocations: 46.56 kB / 0.9037 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.116e-05/0.3252, allocations: 20.86 kB / 0.9037 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.3253, allocations: 12.02 kB / 0.9037 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002017/0.3255, allocations: 79.38 kB / 0.9038 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 3.005e-06/0.3255, allocations: 0 / 0.9038 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0002803/0.3258, allocations: 117.5 kB / 0.9039 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.3258, allocations: 55.56 kB / 0.9039 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.353e-05/0.3259, allocations: 133.7 kB / 0.9041 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.3259, allocations: 25.7 kB / 0.9041 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.982e-05/0.326, allocations: 96.12 kB / 0.9042 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.326, allocations: 19.73 kB / 0.9042 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-06/0.326, allocations: 8 kB / 0.9042 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.848e-05/0.3261, allocations: 322.8 kB / 0.9045 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.75e-05/0.3261, allocations: 19.98 kB / 0.9045 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.33e-05/0.3262, allocations: 55.36 kB / 0.9046 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.915e-05/0.3263, allocations: 67.69 kB / 0.9047 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.3263, allocations: 0 / 0.9047 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001233/0.3264, allocations: 105.5 kB / 0.9048 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.3264, allocations: 14.91 kB / 0.9048 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.3265, allocations: 0 / 0.9048 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.3265, allocations: 0 / 0.9048 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.783e-05/0.3265, allocations: 8 kB / 0.9048 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.3266, allocations: 0 / 0.9048 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.3267, allocations: 31.97 kB / 0.9048 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.3267, allocations: 11.98 kB / 0.9048 GB, free: 59.14 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,and1.y,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 8.675e-05/0.3268, allocations: 125.7 kB / 0.9049 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.165e-05/0.3268, allocations: 3.906 kB / 0.9049 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.671e-05/0.3269, allocations: 12.38 kB / 0.905 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3269, allocations: 3.984 kB / 0.905 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.3269, allocations: 4 kB / 0.905 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3269, allocations: 0 / 0.905 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.3271, allocations: 201.5 kB / 0.9052 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3271, allocations: 0 / 0.9052 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.11e-05/0.3271, allocations: 4 kB / 0.9052 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.3271, allocations: 0 / 0.9052 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.3271, allocations: 0 / 0.9052 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3271, allocations: 0 / 0.9052 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3271, allocations: 4 kB / 0.9052 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/0.3273, allocations: 124.9 kB / 0.9053 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.153e-05/0.3273, allocations: 85.02 kB / 0.9054 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.3273, allocations: 4 kB / 0.9054 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.3274, allocations: 19.97 kB / 0.9054 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.66e-05/0.3275, allocations: 15.98 kB / 0.9054 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.3275, allocations: 12.17 kB / 0.9054 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.579e-05/0.3276, allocations: 99.27 kB / 0.9055 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3276, allocations: 3.938 kB / 0.9055 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000191/0.3278, allocations: 16 kB / 0.9055 GB, free: 58.32 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,and1.y,booPul3.y,booPul3.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004915/0.3283, allocations: 0.6591 MB / 0.9062 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000171/0.3285, allocations: 67.92 kB / 0.9062 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3285, allocations: 0 / 0.9062 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.068e-05/0.3286, allocations: 39.86 kB / 0.9063 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.3289, allocations: 22.22 kB / 0.9063 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.33, allocations: 1.431 MB / 0.9077 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000153/0.3302, allocations: 0.6969 MB / 0.9084 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.92e-05/0.3303, allocations: 4.562 kB / 0.9084 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.452e-05/0.3303, allocations: 31.42 kB / 0.9084 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.3303, allocations: 0 / 0.9084 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01361/0.3439, allocations: 2.044 MB / 0.9104 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/0.3442, allocations: 208.5 kB / 0.9106 GB, free: 53.06 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.795/2.139, allocations: 2.375 kB / 0.9106 GB, free: 53.06 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And3.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1)