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.MultiOr.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.MultiOr,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",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.475/1.475, allocations: 251.9 MB / 266.9 MB, free: 11.07 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.001081/0.001081, allocations: 177.4 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.928/1.928, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.001014/0.001014, allocations: 86.36 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004105/0.0004105, allocations: 9 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.314, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001852/0.3159, allocations: 1.247 MB / 0.9014 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005814/0.3165, allocations: 326.2 kB / 0.9017 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.691e-05/0.3166, allocations: 8 kB / 0.9017 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001211/0.3167, allocations: 15.86 kB / 0.9017 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.147e-05/0.3168, allocations: 27.94 kB / 0.9018 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.317, allocations: 59.81 kB / 0.9018 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001854/0.3172, allocations: 123.6 kB / 0.9019 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.3174, allocations: 33.47 kB / 0.902 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.15e-05/0.3175, allocations: 51.84 kB / 0.902 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.946e-05/0.3176, allocations: 67.67 kB / 0.9021 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.745e-05/0.3176, allocations: 8 kB / 0.9021 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.414e-05/0.3176, allocations: 4 kB / 0.9021 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.994e-05/0.3177, allocations: 31.91 kB / 0.9021 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.675e-05/0.3178, allocations: 49.64 kB / 0.9022 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.3179, allocations: 127.9 kB / 0.9023 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3179, allocations: 0 / 0.9023 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.953e-06/0.3179, allocations: 3.938 kB / 0.9023 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.289e-06/0.318, allocations: 0 / 0.9023 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0008677/0.3188, allocations: 482.8 kB / 0.9027 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.3189, allocations: 12.03 kB / 0.9028 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.2e-05/0.319, allocations: 46.55 kB / 0.9028 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.67e-05/0.319, allocations: 15.81 kB / 0.9028 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.3192, allocations: 228.7 kB / 0.903 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.3193, allocations: 16 kB / 0.9031 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.3193, allocations: 12 kB / 0.9031 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000269/0.3196, allocations: 159.3 kB / 0.9032 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.3196, allocations: 0 / 0.9032 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.3196, allocations: 4 kB / 0.9032 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.3196, allocations: 4 kB / 0.9032 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001575/0.3198, allocations: 103.9 kB / 0.9033 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008902/0.3207, allocations: 0.6214 MB / 0.9039 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002745/0.321, allocations: 211.6 kB / 0.9041 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.321, allocations: 4 kB / 0.9041 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001784/0.3212, allocations: 136.2 kB / 0.9043 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=20): time 1.653e-06/0.3212, allocations: 0 / 0.9043 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20): time 0.0003601/0.3216, allocations: 215.3 kB / 0.9045 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.3216, allocations: 55.41 kB / 0.9045 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.3217, allocations: 180.9 kB / 0.9047 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.3218, allocations: 29.7 kB / 0.9047 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.73e-05/0.3218, allocations: 116.5 kB / 0.9048 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.882e-05/0.3219, allocations: 43.73 kB / 0.9049 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.835e-06/0.3219, allocations: 4 kB / 0.9049 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.733e-05/0.322, allocations: 322.8 kB / 0.9052 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.243e-05/0.322, allocations: 51.97 kB / 0.9052 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.009e-05/0.3221, allocations: 101.9 kB / 0.9053 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.692e-05/0.3222, allocations: 43.98 kB / 0.9054 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3222, allocations: 4 kB / 0.9054 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002096/0.3224, allocations: 191.3 kB / 0.9056 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.3225, allocations: 4 kB / 0.9056 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.3225, allocations: 7.938 kB / 0.9056 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.3225, allocations: 0 / 0.9056 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.435e-05/0.3226, allocations: 16 kB / 0.9056 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.3226, allocations: 7.938 kB / 0.9056 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/0.3228, allocations: 52.03 kB / 0.9056 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.3228, allocations: 11.94 kB / 0.9057 GB, free: 57.94 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mulOr2.u[2],mulOr2.y,mulOr5.u[1],mulOr5.u[3],mulOr5.u[4],mulOr5.u[5],mulOr5.y,mulOr5.uTemp[2],mulOr5.uTemp[3],mulOr5.uTemp[4],$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,$PRE.booPul3.pulseStart,booPul3.pulseStart,$PRE.booPul4.pulseStart,booPul4.pulseStart,$PRE.booPul5.pulseStart,booPul5.pulseStart,mulOr0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 0.0001164/0.3229, allocations: 139.8 kB / 0.9058 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.887e-05/0.3229, allocations: 15.81 kB / 0.9058 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.081e-05/0.323, allocations: 25.17 kB / 0.9058 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.323, allocations: 0 / 0.9058 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.323, allocations: 7.984 kB / 0.9058 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.323, allocations: 3.938 kB / 0.9058 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004553/0.3235, allocations: 0.5043 MB / 0.9063 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3235, allocations: 0 / 0.9063 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.78e-05/0.3235, allocations: 7.938 kB / 0.9063 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3235, allocations: 4 kB / 0.9063 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.3236, allocations: 0 / 0.9063 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3236, allocations: 0 / 0.9063 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.3236, allocations: 7.953 kB / 0.9064 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002121/0.3238, allocations: 263.3 kB / 0.9066 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.741e-05/0.3238, allocations: 92.91 kB / 0.9067 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.3239, allocations: 4.094 kB / 0.9067 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.3241, allocations: 43.89 kB / 0.9067 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.719e-05/0.3242, allocations: 27.95 kB / 0.9068 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.3242, allocations: 12 kB / 0.9068 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.839e-05/0.3242, allocations: 128.4 kB / 0.9069 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3243, allocations: 0 / 0.9069 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002637/0.3245, allocations: 39.94 kB / 0.9069 GB, free: 56.53 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: 20 (mulOr5.uTemp[2],$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mulOr2.u[2],mulOr2.y,mulOr5.u[1],mulOr5.u[3],mulOr5.u[4],mulOr5.u[5],mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.pulseStart,booPul2.pulseStart,booPul3.pulseStart,booPul4.pulseStart,booPul5.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0004689/0.325, allocations: 0.8088 MB / 0.9077 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002252/0.3252, allocations: 143.8 kB / 0.9079 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3252, allocations: 0 / 0.9079 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.3254, allocations: 82.47 kB / 0.9079 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.3257, allocations: 40.34 kB / 0.908 GB, free: 55.44 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.3272, allocations: 1.883 MB / 0.9098 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001985/0.3274, allocations: 0.7284 MB / 0.9105 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.082e-05/0.3275, allocations: 37.52 kB / 0.9106 GB, free: 52.69 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.181e-05/0.3276, allocations: 51.52 kB / 0.9106 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of SimCode: time 6.82e-07/0.3276, allocations: 3.938 kB / 0.9106 GB, free: 52.63 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01529/0.3429, allocations: 3.664 MB / 0.9142 GB, free: 49.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002004/0.3432, allocations: 191 kB / 0.9144 GB, free: 48.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.839/2.182, allocations: 0 / 0.9144 GB, free: 48.9 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1)