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.001427/0.001427, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 197.5 kB / 16.64 MB, free: 6.445 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.366/1.366, allocations: 205.1 MB / 222.5 MB, free: 4.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.706/1.706, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.002423/0.002423, allocations: 70.72 kB / 0.6718 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2118, allocations: 114.5 MB / 0.7837 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001919/0.2137, allocations: 0.666 MB / 0.7843 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001421/0.2152, allocations: 1.191 MB / 0.7855 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.135e-05/0.2153, allocations: 4 kB / 0.7855 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.987e-05/0.2153, allocations: 3.938 kB / 0.7855 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.633e-05/0.2154, allocations: 7.875 kB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006319/0.216, allocations: 221.5 kB / 0.7857 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.2163, allocations: 183.7 kB / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.2164, allocations: 12 kB / 0.7859 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.629e-05/0.2165, allocations: 71.88 kB / 0.786 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.2166, allocations: 63.78 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.882e-05/0.2166, allocations: 16 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.156e-05/0.2167, allocations: 27.98 kB / 0.7861 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.757e-05/0.2167, allocations: 7.984 kB / 0.7861 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.971e-05/0.2168, allocations: 59.83 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001807/0.217, allocations: 147.9 kB / 0.7863 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.217, allocations: 4 kB / 0.7863 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.393e-06/0.217, allocations: 0 / 0.7863 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.217, allocations: 4 kB / 0.7863 GB, free: 10.54 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.0004494/0.2175, allocations: 438.7 kB / 0.7867 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.2175, allocations: 8.031 kB / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.329e-05/0.2176, allocations: 38.69 kB / 0.7867 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.648e-05/0.2176, allocations: 4.938 kB / 0.7867 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.542e-05/0.2177, allocations: 172.2 kB / 0.7869 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.2177, allocations: 8.359 kB / 0.7869 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/0.2178, allocations: 16.38 kB / 0.7869 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.515e-05/0.2179, allocations: 50.23 kB / 0.787 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.2179, allocations: 3.938 kB / 0.787 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.2179, allocations: 0 / 0.787 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.2179, allocations: 0 / 0.787 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.811e-05/0.218, allocations: 15.98 kB / 0.787 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004024/0.2184, allocations: 360.6 kB / 0.7873 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.554e-05/0.2184, allocations: 30.58 kB / 0.7874 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.939e-05/0.2185, allocations: 20.94 kB / 0.7874 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.722e-06/0.2185, allocations: 0 / 0.7874 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001769/0.2187, allocations: 91.2 kB / 0.7875 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.2187, allocations: 0 / 0.7875 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002238/0.2189, allocations: 97.67 kB / 0.7876 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.219, allocations: 51.41 kB / 0.7876 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.24e-05/0.2191, allocations: 129.7 kB / 0.7877 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.2191, allocations: 33.7 kB / 0.7878 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.505e-05/0.2192, allocations: 88.14 kB / 0.7879 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.549e-05/0.2192, allocations: 15.8 kB / 0.7879 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.26e-05/0.2193, allocations: 53.67 kB / 0.7879 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.491e-05/0.2194, allocations: 318.8 kB / 0.7882 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.2195, allocations: 67.91 kB / 0.7883 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.2197, allocations: 96.25 kB / 0.7884 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.2198, allocations: 155.6 kB / 0.7885 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2198, allocations: 0 / 0.7885 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003762/0.2202, allocations: 256.9 kB / 0.7888 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.115e-05/0.2203, allocations: 71.39 kB / 0.7888 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.2203, allocations: 0 / 0.7888 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.2203, allocations: 0 / 0.7888 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.96e-05/0.2203, allocations: 7.984 kB / 0.7888 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.2203, allocations: 4.406 kB / 0.7889 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003297/0.2207, allocations: 55.91 kB / 0.7889 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.073e-05/0.2207, allocations: 23.98 kB / 0.7889 GB, free: 7.5 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 9.021e-05/0.2208, allocations: 121.8 kB / 0.789 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.218e-05/0.2208, allocations: 7.844 kB / 0.7891 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.521e-05/0.2209, allocations: 16.31 kB / 0.7891 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.2209, allocations: 0 / 0.7891 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2209, allocations: 0 / 0.7891 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2209, allocations: 0 / 0.7891 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.221, allocations: 177.6 kB / 0.7892 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.221, allocations: 4 kB / 0.7892 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.404e-06/0.221, allocations: 0 / 0.7892 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.221, allocations: 4 kB / 0.7892 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.221, allocations: 0 / 0.7892 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.221, allocations: 0 / 0.7892 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.221, allocations: 0 / 0.7892 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.2212, allocations: 118 kB / 0.7894 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.32e-05/0.2212, allocations: 85 kB / 0.7894 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.2212, allocations: 4 kB / 0.7894 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.028e-05/0.2213, allocations: 8 kB / 0.7895 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.2213, allocations: 4 kB / 0.7895 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.2213, allocations: 8.047 kB / 0.7895 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.768e-05/0.2214, allocations: 87.28 kB / 0.7895 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2214, allocations: 0 / 0.7895 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002311/0.2216, allocations: 35.98 kB / 0.7896 GB, free: 6.738 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.0003838/0.222, allocations: 0.6513 MB / 0.7902 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003152/0.2223, allocations: 250.7 kB / 0.7905 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2223, allocations: 0 / 0.7905 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.226e-05/0.2224, allocations: 24.45 kB / 0.7905 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.2226, allocations: 17.36 kB / 0.7905 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.2243, allocations: 1.719 MB / 0.7922 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002105/0.2245, allocations: 0.6924 MB / 0.7928 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.011e-05/0.2246, allocations: 7.781 kB / 0.7929 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.263e-05/0.2246, allocations: 15.44 kB / 0.7929 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.2246, allocations: 0 / 0.7929 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01728/0.2419, allocations: 2.87 MB / 0.7957 GB, free: 408 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.535/7.777, allocations: 15.88 kB / 0.7957 GB, free: 392 kB / 0.6075 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-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)