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.001019/0.001019, 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.00101/0.00101, allocations: 192.8 kB / 16.13 MB, free: 6.707 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.423/1.423, allocations: 205.1 MB / 222 MB, free: 4.754 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.64/1.64, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001333/0.001333, allocations: 75.38 kB / 0.671 GB, free: 26.6 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2129, allocations: 114.5 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.00193/0.2149, allocations: 0.7357 MB / 0.7835 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001372/0.2163, allocations: 1.208 MB / 0.7847 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.173e-05/0.2163, allocations: 0 / 0.7847 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.108e-05/0.2164, allocations: 0 / 0.7847 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.912e-05/0.2164, allocations: 11.92 kB / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005414/0.217, allocations: 201.9 kB / 0.7849 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001411/0.2171, allocations: 147.8 kB / 0.7851 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.725e-05/0.2172, allocations: 8 kB / 0.7851 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.759e-05/0.2173, allocations: 63.81 kB / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.322e-05/0.2174, allocations: 43.88 kB / 0.7852 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.034e-05/0.2175, allocations: 12 kB / 0.7852 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.816e-05/0.2176, allocations: 19.98 kB / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.445e-05/0.2176, allocations: 23.91 kB / 0.7852 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.952e-05/0.2177, allocations: 47.84 kB / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.2179, allocations: 147.9 kB / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.2179, allocations: 4 kB / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2179, allocations: 0 / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.2179, allocations: 0 / 0.7854 GB, free: 11.25 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.0005124/0.2184, allocations: 434.7 kB / 0.7858 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.2185, allocations: 12.03 kB / 0.7858 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.046e-05/0.2185, allocations: 30.75 kB / 0.7859 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.992e-05/0.2186, allocations: 8.938 kB / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.2187, allocations: 172.2 kB / 0.786 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.2187, allocations: 8.375 kB / 0.786 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/0.2187, allocations: 16.36 kB / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.2188, allocations: 42.25 kB / 0.7861 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.2189, allocations: 3.938 kB / 0.7861 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.607e-06/0.2189, allocations: 0 / 0.7861 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.2189, allocations: 0 / 0.7861 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.962e-05/0.2189, allocations: 19.98 kB / 0.7861 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004533/0.2194, allocations: 356.7 kB / 0.7865 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.341e-05/0.2195, allocations: 34.52 kB / 0.7865 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.879e-05/0.2195, allocations: 20.94 kB / 0.7865 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.376e-06/0.2195, allocations: 0 / 0.7865 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001723/0.2197, allocations: 91.19 kB / 0.7866 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.2197, allocations: 4 kB / 0.7866 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.000229/0.2199, allocations: 101.6 kB / 0.7867 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.22, allocations: 55.41 kB / 0.7868 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.22e-05/0.2201, allocations: 125.7 kB / 0.7869 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/0.2201, allocations: 29.7 kB / 0.7869 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.865e-05/0.2202, allocations: 92.14 kB / 0.787 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/0.2202, allocations: 15.8 kB / 0.787 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.238e-05/0.2203, allocations: 49.69 kB / 0.7871 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.2204, allocations: 322.8 kB / 0.7874 GB, free: 9 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.2206, allocations: 59.97 kB / 0.7874 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.2207, allocations: 100.2 kB / 0.7875 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.2209, allocations: 155.6 kB / 0.7877 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2209, allocations: 0 / 0.7877 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003799/0.2213, allocations: 256.9 kB / 0.7879 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.576e-05/0.2214, allocations: 73.89 kB / 0.788 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.2214, allocations: 0 / 0.788 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.2214, allocations: 4 kB / 0.788 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.833e-05/0.2214, allocations: 3.984 kB / 0.788 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.2214, allocations: 4 kB / 0.788 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000341/0.2218, allocations: 71.91 kB / 0.7881 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.847e-05/0.2218, allocations: 11.98 kB / 0.7881 GB, free: 8.203 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.551e-05/0.2219, allocations: 125.7 kB / 0.7882 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.365e-05/0.2219, allocations: 7.906 kB / 0.7882 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.274e-05/0.2219, allocations: 8.375 kB / 0.7882 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2219, allocations: 4 kB / 0.7882 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.222, allocations: 0 / 0.7882 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.222, allocations: 3.984 kB / 0.7882 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.2221, allocations: 177.6 kB / 0.7884 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2221, allocations: 0 / 0.7884 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.638e-06/0.2221, allocations: 4 kB / 0.7884 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.2221, allocations: 0 / 0.7884 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.2221, allocations: 3.984 kB / 0.7884 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2221, allocations: 0 / 0.7884 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2221, allocations: 0 / 0.7884 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.2223, allocations: 117 kB / 0.7885 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.709e-05/0.2223, allocations: 85.02 kB / 0.7886 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.2223, allocations: 0 / 0.7886 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.022e-05/0.2224, allocations: 0 / 0.7886 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/0.2224, allocations: 15.91 kB / 0.7886 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.2224, allocations: 4 kB / 0.7886 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.667e-05/0.2225, allocations: 91.27 kB / 0.7887 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2225, allocations: 0 / 0.7887 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002179/0.2227, allocations: 32 kB / 0.7887 GB, free: 7.441 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.0004201/0.2231, allocations: 0.6474 MB / 0.7894 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003218/0.2235, allocations: 246.7 kB / 0.7896 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2235, allocations: 0 / 0.7896 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.852e-05/0.2235, allocations: 32.52 kB / 0.7896 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.2238, allocations: 15.92 kB / 0.7896 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.2255, allocations: 1.715 MB / 0.7913 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.2257, allocations: 0.6848 MB / 0.792 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.798e-05/0.2257, allocations: 7.984 kB / 0.792 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.358e-05/0.2258, allocations: 23.44 kB / 0.792 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of SimCode: time 1.453e-06/0.2258, allocations: 0 / 0.792 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01115/0.2369, allocations: 2.664 MB / 0.7946 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002004/0.2372, allocations: 209.8 kB / 0.7948 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.607/1.844, allocations: 4 kB / 0.7948 GB, free: 1.059 MB / 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 & /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)