Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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.MultiOr,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 192.7 kB / 16.13 MB, free: 6.66 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.4/1.4, allocations: 205.1 MB / 222 MB, free: 4.992 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.625/1.625, allocations: 292.3 MB / 0.5484 GB, free: 13.69 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.001401/0.001401, allocations: 75.39 kB / 0.671 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2105, allocations: 114.5 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002092/0.2126, allocations: 0.9031 MB / 0.7837 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001796/0.2145, allocations: 1.532 MB / 0.7852 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.034e-05/0.2145, allocations: 3.938 kB / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.2147, allocations: 11.92 kB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.845e-05/0.2147, allocations: 23.78 kB / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.2158, allocations: 0.4905 MB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003741/0.2162, allocations: 419.2 kB / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.2163, allocations: 37.48 kB / 0.7861 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001583/0.2165, allocations: 167.7 kB / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.2166, allocations: 131.6 kB / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.629e-05/0.2167, allocations: 27.98 kB / 0.7865 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.2168, allocations: 43.92 kB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.365e-05/0.2169, allocations: 39.84 kB / 0.7865 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001629/0.2171, allocations: 143.5 kB / 0.7867 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003787/0.2175, allocations: 391.2 kB / 0.787 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2175, allocations: 0 / 0.787 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2175, allocations: 3.938 kB / 0.787 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.2175, allocations: 0 / 0.787 GB, free: 9.57 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007267/0.2182, allocations: 0.6477 MB / 0.7877 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.2183, allocations: 8.031 kB / 0.7877 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.12e-05/0.2183, allocations: 42.73 kB / 0.7877 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.023e-05/0.2184, allocations: 32.75 kB / 0.7878 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003194/0.2187, allocations: 271.9 kB / 0.788 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.2188, allocations: 16.38 kB / 0.788 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.064e-05/0.2188, allocations: 32.36 kB / 0.7881 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002382/0.2191, allocations: 142.7 kB / 0.7882 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.2191, allocations: 7.922 kB / 0.7882 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.2191, allocations: 8 kB / 0.7882 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2191, allocations: 0 / 0.7882 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.2193, allocations: 90.94 kB / 0.7883 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007893/0.2201, allocations: 0.7108 MB / 0.789 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.2203, allocations: 171.7 kB / 0.7892 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.003e-05/0.2204, allocations: 48.95 kB / 0.7892 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.2204, allocations: 0 / 0.7892 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000272/0.2206, allocations: 146.2 kB / 0.7893 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 1.373e-06/0.2207, allocations: 4 kB / 0.7894 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20): time 0.0004245/0.2211, allocations: 249.2 kB / 0.7896 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.2211, allocations: 55.41 kB / 0.7896 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.2213, allocations: 183.2 kB / 0.7898 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.399e-05/0.2214, allocations: 41.7 kB / 0.7899 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.2215, allocations: 124.5 kB / 0.79 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.47e-05/0.2215, allocations: 47.44 kB / 0.79 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000185/0.2217, allocations: 113.6 kB / 0.7901 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.2218, allocations: 334.8 kB / 0.7904 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003096/0.2221, allocations: 163.8 kB / 0.7906 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003411/0.2225, allocations: 230.2 kB / 0.7908 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004383/0.2229, allocations: 412.8 kB / 0.7912 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2229, allocations: 4 kB / 0.7912 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009046/0.2238, allocations: 0.6111 MB / 0.7918 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.953e-05/0.2239, allocations: 172.5 kB / 0.792 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.224, allocations: 4 kB / 0.792 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.224, allocations: 7.984 kB / 0.792 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.467e-05/0.224, allocations: 11.92 kB / 0.792 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.224, allocations: 4 kB / 0.792 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007771/0.2248, allocations: 151.6 kB / 0.7922 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.921e-05/0.2249, allocations: 35.98 kB / 0.7922 GB, free: 3.852 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulOr5.uTemp[4],mulOr5.uTemp[3],mulOr5.uTemp[2],mulOr5.y,mulOr2.y,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): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.0001507/0.2251, allocations: 157.5 kB / 0.7923 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.2251, allocations: 23.75 kB / 0.7924 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.049e-05/0.2251, allocations: 21.88 kB / 0.7924 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.2251, allocations: 0 / 0.7924 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.2251, allocations: 0 / 0.7924 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.2252, allocations: 3.984 kB / 0.7924 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005273/0.2257, allocations: 0.4983 MB / 0.7929 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.2257, allocations: 0 / 0.7929 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.847e-05/0.2257, allocations: 8 kB / 0.7929 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.2257, allocations: 4 kB / 0.7929 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.2257, allocations: 3.984 kB / 0.7929 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2258, allocations: 7.938 kB / 0.7929 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2258, allocations: 4 kB / 0.7929 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002685/0.226, allocations: 281.6 kB / 0.7932 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.201e-05/0.2261, allocations: 96.84 kB / 0.7933 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.2261, allocations: 4 kB / 0.7933 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.306e-05/0.2262, allocations: 4 kB / 0.7933 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.24e-05/0.2262, allocations: 19.97 kB / 0.7933 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.2263, allocations: 12 kB / 0.7933 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.455e-05/0.2263, allocations: 123.2 kB / 0.7934 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2264, allocations: 0 / 0.7934 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003597/0.2267, allocations: 83.89 kB / 0.7935 GB, free: 2.41 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: 20 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * 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 (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.0005919/0.2273, allocations: 0.8355 MB / 0.7943 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006952/0.228, allocations: 0.614 MB / 0.7949 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.228, allocations: 0 / 0.7949 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.2281, allocations: 83.89 kB / 0.795 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.2286, allocations: 44.59 kB / 0.795 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00353/0.2321, allocations: 3.02 MB / 0.798 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.2324, allocations: 0.7281 MB / 0.7987 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.947e-05/0.2325, allocations: 25.53 kB / 0.7987 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.274e-05/0.2325, allocations: 55.42 kB / 0.7988 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of SimCode: time 5.91e-07/0.2326, allocations: 0 / 0.7988 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01767/0.2502, allocations: 5.986 MB / 0.8046 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002287/0.2505, allocations: 214 kB / 0.8048 GB, free: 6.625 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.753/2.004, allocations: 0.5 kB / 0.8048 GB, free: 6.625 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1)