Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.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.Nand,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",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.0007727/0.0007726, allocations: 98.03 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.004614/0.004614, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.468/1.468, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.54/1.54, allocations: 292.7 MB / 0.5502 GB, free: 14.43 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.0005437/0.0005438, allocations: 21.97 kB / 0.6744 GB, free: 25.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.1987, allocations: 116.3 MB / 0.788 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.0007207/0.1995, allocations: 414.4 kB / 0.7884 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001214/0.2007, allocations: 1.2 MB / 0.7896 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.467e-05/0.2008, allocations: 0 / 0.7896 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.511e-05/0.2008, allocations: 7.875 kB / 0.7896 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.591e-05/0.2008, allocations: 15.92 kB / 0.7896 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004806/0.2013, allocations: 189.4 kB / 0.7898 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.2015, allocations: 151.8 kB / 0.7899 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.263e-05/0.2016, allocations: 11.98 kB / 0.7899 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.391e-05/0.2016, allocations: 59.89 kB / 0.79 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.67e-05/0.2017, allocations: 43.88 kB / 0.79 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.2017, allocations: 8 kB / 0.79 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.358e-05/0.2018, allocations: 23.92 kB / 0.7901 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.192e-05/0.2018, allocations: 15.91 kB / 0.7901 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.219e-05/0.2019, allocations: 73.55 kB / 0.7902 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001538/0.2021, allocations: 143.8 kB / 0.7903 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.2021, allocations: 8 kB / 0.7903 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2021, allocations: 0 / 0.7903 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.336e-06/0.2021, allocations: 4 kB / 0.7903 GB, free: 9.07 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003527/0.2025, allocations: 402.8 kB / 0.7907 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.2025, allocations: 12.03 kB / 0.7907 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.446e-05/0.2025, allocations: 30.75 kB / 0.7907 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.07e-05/0.2026, allocations: 12.84 kB / 0.7907 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.04e-05/0.2027, allocations: 164.4 kB / 0.7909 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.2027, allocations: 8.375 kB / 0.7909 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/0.2027, allocations: 16.38 kB / 0.7909 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.04e-05/0.2028, allocations: 50.17 kB / 0.791 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.443e-06/0.2029, allocations: 3.938 kB / 0.791 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.114e-06/0.2029, allocations: 0 / 0.791 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.2029, allocations: 4 kB / 0.791 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.17e-05/0.2029, allocations: 8 kB / 0.791 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003954/0.2033, allocations: 360.6 kB / 0.7913 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.276e-05/0.2034, allocations: 42.5 kB / 0.7914 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.375e-05/0.2034, allocations: 12.86 kB / 0.7914 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.441e-06/0.2034, allocations: 0 / 0.7914 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001325/0.2036, allocations: 83.45 kB / 0.7915 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.2036, allocations: 3.938 kB / 0.7915 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0001999/0.2038, allocations: 109.5 kB / 0.7916 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.2038, allocations: 55.41 kB / 0.7916 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.547e-05/0.2039, allocations: 121.8 kB / 0.7917 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.2039, allocations: 33.7 kB / 0.7918 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.229e-05/0.204, allocations: 96.03 kB / 0.7919 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.076e-05/0.204, allocations: 3.906 kB / 0.7919 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.125e-05/0.2041, allocations: 21.72 kB / 0.7919 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.841e-05/0.2041, allocations: 326.8 kB / 0.7922 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.2043, allocations: 55.97 kB / 0.7922 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.2044, allocations: 96.25 kB / 0.7923 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.2046, allocations: 155.6 kB / 0.7925 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2046, allocations: 0 / 0.7925 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003586/0.2049, allocations: 268.8 kB / 0.7927 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.773e-05/0.205, allocations: 67.39 kB / 0.7928 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.205, allocations: 0 / 0.7928 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.205, allocations: 4 kB / 0.7928 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.642e-05/0.205, allocations: 7.922 kB / 0.7928 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.205, allocations: 4 kB / 0.7928 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003671/0.2054, allocations: 86.86 kB / 0.7929 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.2055, allocations: 11.98 kB / 0.7929 GB, free: 6.074 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,nand1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.547e-05/0.2055, allocations: 126.2 kB / 0.793 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.211e-05/0.2056, allocations: 7.984 kB / 0.793 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.986e-05/0.2056, allocations: 8.375 kB / 0.7931 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2056, allocations: 0 / 0.7931 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.2056, allocations: 0 / 0.7931 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2056, allocations: 7.922 kB / 0.7931 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.2057, allocations: 177.5 kB / 0.7932 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2057, allocations: 3.938 kB / 0.7932 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.001e-05/0.2057, allocations: 8.062 kB / 0.7932 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.2057, allocations: 0 / 0.7932 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.2058, allocations: 11.98 kB / 0.7933 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2058, allocations: 0 / 0.7933 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2058, allocations: 0 / 0.7933 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.2059, allocations: 101.1 kB / 0.7933 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.214e-05/0.2059, allocations: 92.94 kB / 0.7934 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.206, allocations: 4 kB / 0.7934 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.811e-05/0.206, allocations: 0 / 0.7934 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.035e-05/0.206, allocations: 7.984 kB / 0.7934 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.206, allocations: 8 kB / 0.7935 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.093e-05/0.2061, allocations: 95.2 kB / 0.7935 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2061, allocations: 0 / 0.7935 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002134/0.2063, allocations: 28 kB / 0.7936 GB, free: 5.305 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nand1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003507/0.2066, allocations: 0.6475 MB / 0.7942 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002817/0.2069, allocations: 250.7 kB / 0.7944 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.207, allocations: 0 / 0.7944 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.291e-05/0.207, allocations: 27.92 kB / 0.7945 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.2072, allocations: 15.98 kB / 0.7945 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.2088, allocations: 1.719 MB / 0.7962 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001919/0.209, allocations: 0.6965 MB / 0.7968 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.193e-05/0.209, allocations: 4.094 kB / 0.7968 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.885e-05/0.209, allocations: 19.38 kB / 0.7969 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.209, allocations: 4 kB / 0.7969 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.707/1.916, allocations: 2.593 MB / 0.7994 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002242/1.916, allocations: 210.4 kB / 0.7996 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.982/3.898, allocations: 3.938 kB / 0.7996 GB, free: 15.01 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Nand_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Nand.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1)