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.0008466/0.000847, allocations: 91.84 kB / 15.36 MB, free: 0.7344 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.005053/0.005053, allocations: 169.8 kB / 16.26 MB, free: 6.68 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.427/1.427, allocations: 205.4 MB / 222.4 MB, free: 5.789 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.545/1.545, allocations: 292.7 MB / 0.5502 GB, free: 14.49 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.000518/0.0005183, allocations: 15 kB / 0.6744 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1913, allocations: 116.3 MB / 0.788 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.0008357/0.1921, allocations: 0.5603 MB / 0.7886 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001555/0.1937, allocations: 1.528 MB / 0.79 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.138e-05/0.1938, allocations: 0 / 0.79 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.353e-05/0.1938, allocations: 19.86 kB / 0.7901 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.621e-05/0.1939, allocations: 27.72 kB / 0.7901 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009751/0.1949, allocations: 0.4889 MB / 0.7906 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003345/0.1952, allocations: 415.3 kB / 0.791 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.1953, allocations: 37.48 kB / 0.791 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.1955, allocations: 167.6 kB / 0.7912 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.1956, allocations: 123.6 kB / 0.7913 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.862e-05/0.1957, allocations: 24 kB / 0.7913 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.215e-05/0.1958, allocations: 35.98 kB / 0.7913 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.196e-05/0.1958, allocations: 27.91 kB / 0.7914 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.196, allocations: 169.2 kB / 0.7915 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003118/0.1963, allocations: 387.1 kB / 0.7919 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1963, allocations: 0 / 0.7919 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1963, allocations: 4 kB / 0.7919 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.1963, allocations: 0 / 0.7919 GB, free: 7.52 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.0005141/0.1969, allocations: 0.5696 MB / 0.7925 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.1969, allocations: 12.03 kB / 0.7925 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.298e-05/0.1969, allocations: 46.73 kB / 0.7925 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.123e-05/0.197, allocations: 28.75 kB / 0.7925 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.1973, allocations: 264 kB / 0.7928 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.1973, allocations: 20.36 kB / 0.7928 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.7e-05/0.1974, allocations: 28.38 kB / 0.7928 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.1976, allocations: 158.7 kB / 0.793 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.1976, allocations: 3.938 kB / 0.793 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.1976, allocations: 4 kB / 0.793 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.1977, allocations: 7.984 kB / 0.793 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.1978, allocations: 83.94 kB / 0.7931 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007276/0.1985, allocations: 0.7108 MB / 0.7938 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.1987, allocations: 171.6 kB / 0.7939 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.756e-05/0.1988, allocations: 44.84 kB / 0.794 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.695e-06/0.1988, allocations: 4 kB / 0.794 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001954/0.199, allocations: 159.3 kB / 0.7941 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 1.192e-06/0.199, allocations: 0 / 0.7941 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20): time 0.0003783/0.1994, allocations: 244.2 kB / 0.7944 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.1994, allocations: 55.41 kB / 0.7944 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.1995, allocations: 183.3 kB / 0.7946 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.175e-05/0.1996, allocations: 37.7 kB / 0.7946 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.015e-05/0.1997, allocations: 128.5 kB / 0.7948 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.1997, allocations: 43.44 kB / 0.7948 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.084e-05/0.1998, allocations: 53.78 kB / 0.7949 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.005e-05/0.1999, allocations: 330.8 kB / 0.7952 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00028/0.2002, allocations: 159.8 kB / 0.7953 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003137/0.2005, allocations: 246.1 kB / 0.7956 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003996/0.2009, allocations: 400.8 kB / 0.7959 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.2009, allocations: 7.922 kB / 0.7959 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008346/0.2018, allocations: 0.6147 MB / 0.7965 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.686e-05/0.2019, allocations: 168.4 kB / 0.7967 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2019, allocations: 4 kB / 0.7967 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.2019, allocations: 4 kB / 0.7967 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.803e-05/0.2019, allocations: 4 kB / 0.7967 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.2019, allocations: 8.281 kB / 0.7967 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008348/0.2028, allocations: 206.8 kB / 0.7969 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.516e-05/0.2029, allocations: 35.97 kB / 0.797 GB, free: 1.887 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.000145/0.203, allocations: 161.5 kB / 0.7971 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.203, allocations: 23.75 kB / 0.7971 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.087e-05/0.2031, allocations: 21.86 kB / 0.7972 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.2031, allocations: 0 / 0.7972 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.2031, allocations: 4 kB / 0.7972 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.2031, allocations: 0 / 0.7972 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004626/0.2036, allocations: 0.4984 MB / 0.7976 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.2036, allocations: 3.984 kB / 0.7976 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.75e-05/0.2036, allocations: 7.938 kB / 0.7977 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.2036, allocations: 4 kB / 0.7977 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.507e-06/0.2036, allocations: 0 / 0.7977 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.2036, allocations: 7.984 kB / 0.7977 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2036, allocations: 0 / 0.7977 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002482/0.2039, allocations: 285.6 kB / 0.7979 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.147e-05/0.2039, allocations: 92.86 kB / 0.798 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.204, allocations: 11.92 kB / 0.798 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.186e-05/0.204, allocations: 8.062 kB / 0.798 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.697e-05/0.2041, allocations: 23.97 kB / 0.7981 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.2041, allocations: 8 kB / 0.7981 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.874e-05/0.2042, allocations: 119.2 kB / 0.7982 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.353e-06/0.2042, allocations: 0 / 0.7982 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003186/0.2045, allocations: 87.84 kB / 0.7983 GB, free: 444 kB / 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.0005299/0.205, allocations: 0.8304 MB / 0.7991 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006345/0.2057, allocations: 0.6129 MB / 0.7997 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2057, allocations: 0 / 0.7997 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.2058, allocations: 83.89 kB / 0.7998 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.2062, allocations: 48.58 kB / 0.7998 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003185/0.2094, allocations: 3.027 MB / 0.8028 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002354/0.2096, allocations: 0.7281 MB / 0.8035 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.067e-05/0.2097, allocations: 25.53 kB / 0.8035 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.75e-05/0.2098, allocations: 55.42 kB / 0.8036 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of SimCode: time 2.1e-07/0.2098, allocations: 0 / 0.8036 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.396/2.606, allocations: 5.919 MB / 0.8093 GB, free: 5.004 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002241/2.606, allocations: 211.1 kB / 0.8095 GB, free: 4.75 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.067/4.674, allocations: 0 / 0.8095 GB, free: 4.75 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)