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.Or3.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.Or3,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",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.337/1.337, allocations: 251.5 MB / 266.7 MB, free: 10.98 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.0009075/0.0009077, allocations: 174.6 kB / 325.8 MB, free: 2.707 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.534/1.534, allocations: 205 MB / 0.576 GB, free: 20.97 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.0007418/0.0007418, allocations: 79.77 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003248/0.0003249, allocations: 9.031 kB / 0.7933 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.1958, allocations: 105.4 MB / 0.8962 GB, free: 68.08 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.001229/0.197, allocations: 1.162 MB / 0.8974 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003189/0.1974, allocations: 229 kB / 0.8976 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.649e-05/0.1974, allocations: 4 kB / 0.8976 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.081e-05/0.1975, allocations: 3.984 kB / 0.8976 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.177e-05/0.1975, allocations: 11.86 kB / 0.8976 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00011/0.1976, allocations: 19.97 kB / 0.8976 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.949e-05/0.1977, allocations: 83.66 kB / 0.8977 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.134e-05/0.1978, allocations: 20.41 kB / 0.8977 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.941e-05/0.1979, allocations: 23.92 kB / 0.8977 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.472e-05/0.1979, allocations: 27.84 kB / 0.8978 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.1979, allocations: 4 kB / 0.8978 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.16e-05/0.1979, allocations: 4 kB / 0.8978 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.883e-05/0.198, allocations: 15.91 kB / 0.8978 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.889e-05/0.198, allocations: 31.86 kB / 0.8978 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.363e-05/0.1981, allocations: 63.75 kB / 0.8979 GB, free: 66.37 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.1981, allocations: 4 kB / 0.8979 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of FrontEnd: time 9.32e-07/0.1981, allocations: 0 / 0.8979 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.656e-06/0.1981, allocations: 0 / 0.8979 GB, free: 66.36 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.0004451/0.1986, allocations: 403.2 kB / 0.8983 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.1986, allocations: 12.03 kB / 0.8983 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.718e-05/0.1986, allocations: 38.73 kB / 0.8983 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.165e-05/0.1987, allocations: 4.938 kB / 0.8983 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.028e-05/0.1987, allocations: 176.2 kB / 0.8985 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.1988, allocations: 12.31 kB / 0.8985 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.1988, allocations: 8.359 kB / 0.8985 GB, free: 65.63 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.336e-05/0.1989, allocations: 65.92 kB / 0.8986 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.551e-06/0.1989, allocations: 0 / 0.8986 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.1989, allocations: 4 kB / 0.8986 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.1989, allocations: 7.984 kB / 0.8986 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.633e-05/0.199, allocations: 35.92 kB / 0.8986 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002968/0.1993, allocations: 304.7 kB / 0.8989 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.849e-05/0.1994, allocations: 54.59 kB / 0.899 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.168e-05/0.1994, allocations: 16.86 kB / 0.899 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.768e-06/0.1994, allocations: 8 kB / 0.899 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001187/0.1995, allocations: 83.36 kB / 0.8991 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.724e-06/0.1995, allocations: 0 / 0.8991 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.000178/0.1997, allocations: 113.5 kB / 0.8992 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.278e-05/0.1998, allocations: 59.34 kB / 0.8992 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.142e-05/0.1998, allocations: 125.8 kB / 0.8993 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.739e-06/0.1998, allocations: 33.69 kB / 0.8994 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.425e-05/0.1999, allocations: 92.14 kB / 0.8995 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.541e-05/0.1999, allocations: 19.95 kB / 0.8995 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.211e-05/0.1999, allocations: 21.7 kB / 0.8995 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.847e-05/0.2, allocations: 326.8 kB / 0.8998 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.145e-05/0.2, allocations: 20 kB / 0.8998 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.186e-05/0.2, allocations: 43.42 kB / 0.8999 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.752e-05/0.2001, allocations: 67.73 kB / 0.8999 GB, free: 64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.2001, allocations: 0 / 0.8999 GB, free: 64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000106/0.2002, allocations: 105.4 kB / 0.9 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/0.2002, allocations: 8 kB / 0.9 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.2002, allocations: 0 / 0.9 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.716e-06/0.2003, allocations: 96 / 0.9 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.427e-05/0.2003, allocations: 12 kB / 0.9001 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.2003, allocations: 3.984 kB / 0.9001 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.2004, allocations: 31.77 kB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.2004, allocations: 8 kB / 0.9001 GB, free: 63.83 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,booPul3.pulseStart,$PRE.booPul3.pulseStart,booPul3.y,or1.y,booPul2.pulseStart,$PRE.booPul2.pulseStart,booPul2.y,booPul1.pulseStart,$PRE.booPul1.pulseStart,booPul1.y) * 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 5.203e-05/0.2005, allocations: 125.7 kB / 0.9002 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.18e-05/0.2005, allocations: 11.91 kB / 0.9002 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.551e-05/0.2005, allocations: 12.36 kB / 0.9002 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.2006, allocations: 0 / 0.9002 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.2006, allocations: 0 / 0.9002 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.2006, allocations: 4 kB / 0.9002 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.859e-05/0.2007, allocations: 189.6 kB / 0.9004 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2007, allocations: 8 kB / 0.9004 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.416e-06/0.2007, allocations: 0 / 0.9004 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.2007, allocations: 0 / 0.9004 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.2007, allocations: 0 / 0.9004 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.2007, allocations: 4 kB / 0.9004 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2007, allocations: 7.938 kB / 0.9004 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.2008, allocations: 121.8 kB / 0.9006 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.915e-05/0.2009, allocations: 89 kB / 0.9006 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.2009, allocations: 0 / 0.9006 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.563e-05/0.201, allocations: 19.92 kB / 0.9007 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.476e-05/0.201, allocations: 23.97 kB / 0.9007 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.201, allocations: 4 kB / 0.9007 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.231e-05/0.2011, allocations: 99.27 kB / 0.9008 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2011, allocations: 0 / 0.9008 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001763/0.2013, allocations: 15.94 kB / 0.9008 GB, free: 63.01 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,or1.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.000255/0.2015, allocations: 0.6656 MB / 0.9015 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001061/0.2016, allocations: 67.91 kB / 0.9015 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.2016, allocations: 0 / 0.9015 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.95e-05/0.2017, allocations: 39.92 kB / 0.9016 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.2019, allocations: 22.2 kB / 0.9016 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000839/0.2028, allocations: 1.439 MB / 0.903 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.139e-05/0.2029, allocations: 0.6926 MB / 0.9037 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.985e-05/0.2029, allocations: 8.562 kB / 0.9037 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.84e-05/0.2029, allocations: 23.42 kB / 0.9037 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of SimCode: time 3.11e-07/0.2029, allocations: 0 / 0.9037 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1894/0.3924, allocations: 2.041 MB / 0.9057 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001639/0.3926, allocations: 210.6 kB / 0.9059 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.505/1.897, allocations: 4 kB / 0.9059 GB, free: 57.75 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or3.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1)