Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_8_0_0_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_0_0_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/Buildings 8.0.0/package.mo): time 2.659/2.659, allocations: 287.5 MB / 302.4 MB, free: 8.352 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001279/0.001278, allocations: 178.3 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.129/2.129, allocations: 205.4 MB / 0.6297 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001321/0.001322, allocations: 86.31 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004998/0.0005, allocations: 13.73 kB / 0.8659 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2175, allocations: 115.3 MB / 0.9785 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.0008837/0.2185, allocations: 390.5 kB / 0.9788 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001659/0.2202, allocations: 1.169 MB / 0.98 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.269e-05/0.2202, allocations: 0 / 0.98 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.632e-05/0.2203, allocations: 0 / 0.98 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.731e-05/0.2204, allocations: 3.938 kB / 0.98 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008417/0.2212, allocations: 205 kB / 0.9802 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.2214, allocations: 139.7 kB / 0.9803 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.891e-05/0.2215, allocations: 8 kB / 0.9803 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.487e-05/0.2216, allocations: 55.89 kB / 0.9804 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.2217, allocations: 47.86 kB / 0.9804 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.482e-05/0.2218, allocations: 8 kB / 0.9804 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.2219, allocations: 23.98 kB / 0.9805 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.808e-05/0.2219, allocations: 3.938 kB / 0.9805 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.447e-05/0.222, allocations: 41.7 kB / 0.9805 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.2222, allocations: 99.97 kB / 0.9806 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.2222, allocations: 4 kB / 0.9806 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2222, allocations: 0 / 0.9806 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.339e-06/0.2222, allocations: 4 kB / 0.9806 GB, free: 26.03 MB / 0.6198 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.0004349/0.2226, allocations: 406.7 kB / 0.981 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.2227, allocations: 16.02 kB / 0.981 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.289e-05/0.2227, allocations: 30.56 kB / 0.981 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.932e-05/0.2228, allocations: 15.89 kB / 0.981 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.878e-05/0.2229, allocations: 167 kB / 0.9812 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.223, allocations: 7.938 kB / 0.9812 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.851e-05/0.223, allocations: 12 kB / 0.9812 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.2231, allocations: 49.67 kB / 0.9813 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.2232, allocations: 0 / 0.9813 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.2232, allocations: 0 / 0.9813 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.2232, allocations: 4 kB / 0.9813 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.405e-05/0.2233, allocations: 12 kB / 0.9813 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005065/0.2238, allocations: 360.5 kB / 0.9816 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.781e-05/0.2239, allocations: 42.5 kB / 0.9817 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.998e-05/0.2239, allocations: 16.84 kB / 0.9817 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/0.224, allocations: 0 / 0.9817 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001866/0.2242, allocations: 83.44 kB / 0.9818 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.814e-06/0.2242, allocations: 3.938 kB / 0.9818 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.000294/0.2245, allocations: 109.5 kB / 0.9819 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.2245, allocations: 55.36 kB / 0.9819 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.963e-05/0.2246, allocations: 118 kB / 0.982 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.928e-05/0.2247, allocations: 33.7 kB / 0.9821 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.349e-05/0.2247, allocations: 100.2 kB / 0.9822 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.2248, allocations: 7.891 kB / 0.9822 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.841e-05/0.2248, allocations: 8 kB / 0.9822 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.981e-05/0.2249, allocations: 318.8 kB / 0.9825 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002376/0.2251, allocations: 55.97 kB / 0.9825 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002125/0.2254, allocations: 93.39 kB / 0.9826 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002018/0.2256, allocations: 119.3 kB / 0.9827 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2256, allocations: 0 / 0.9827 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005861/0.2262, allocations: 264.8 kB / 0.983 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.226e-05/0.2262, allocations: 68 kB / 0.9831 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.2263, allocations: 7.984 kB / 0.9831 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.2263, allocations: 0 / 0.9831 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.788e-05/0.2263, allocations: 4 kB / 0.9831 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.2263, allocations: 0 / 0.9831 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006502/0.227, allocations: 83.77 kB / 0.9832 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.486e-05/0.2271, allocations: 15.98 kB / 0.9832 GB, free: 23.1 MB / 0.6198 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,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,nand1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001203/0.2272, allocations: 125.5 kB / 0.9833 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.01e-05/0.2272, allocations: 7.906 kB / 0.9833 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.352e-05/0.2273, allocations: 12.36 kB / 0.9833 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.2273, allocations: 4 kB / 0.9833 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.2273, allocations: 4 kB / 0.9833 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.2273, allocations: 0 / 0.9833 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.2274, allocations: 169.6 kB / 0.9835 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.2275, allocations: 4 kB / 0.9835 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.399e-05/0.2275, allocations: 3.984 kB / 0.9835 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.2275, allocations: 0 / 0.9835 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.2275, allocations: 0 / 0.9835 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.2275, allocations: 4 kB / 0.9835 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.2275, allocations: 0 / 0.9835 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/0.2277, allocations: 120.9 kB / 0.9836 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.881e-05/0.2278, allocations: 88.95 kB / 0.9837 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.2278, allocations: 0 / 0.9837 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.309e-05/0.2279, allocations: 0 / 0.9837 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.027e-05/0.2279, allocations: 11.98 kB / 0.9837 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/0.2279, allocations: 4 kB / 0.9837 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.548e-05/0.228, allocations: 91.27 kB / 0.9838 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.41e-07/0.228, allocations: 0 / 0.9838 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003378/0.2283, allocations: 28 kB / 0.9838 GB, free: 22.34 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004263/0.2288, allocations: 0.6553 MB / 0.9845 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004873/0.2293, allocations: 238.7 kB / 0.9847 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2293, allocations: 256 / 0.9847 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.569e-05/0.2294, allocations: 31.97 kB / 0.9847 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.2297, allocations: 17.3 kB / 0.9847 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/0.2315, allocations: 0.7047 MB / 0.9854 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001859/0.2318, allocations: 0.6887 MB / 0.9861 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.02e-05/0.2319, allocations: 7.984 kB / 0.9861 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.643e-05/0.232, allocations: 19.44 kB / 0.9861 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of SimCode: time 1.292e-06/0.232, allocations: 0 / 0.9861 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.027/0.259, allocations: 2.587 MB / 0.9886 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002782/0.2594, allocations: 198.7 kB / 0.9888 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.513/2.772, allocations: 0 / 0.9888 GB, free: 17.16 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Nand_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Nand.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1)