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.001011/0.001011, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001061/0.001061, allocations: 190.7 kB / 16.25 MB, free: 6.617 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.474/1.474, allocations: 205.1 MB / 222.1 MB, free: 4.746 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.653/1.653, allocations: 292.3 MB / 0.5486 GB, free: 13.6 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.001343/0.001343, allocations: 65.39 kB / 0.6711 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2342, allocations: 114.6 MB / 0.783 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002232/0.2364, allocations: 0.7357 MB / 0.7837 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001652/0.2381, allocations: 1.189 MB / 0.7849 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.672e-05/0.2382, allocations: 0 / 0.7849 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.373e-05/0.2382, allocations: 7.922 kB / 0.7849 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.632e-05/0.2383, allocations: 11.94 kB / 0.7849 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006063/0.2389, allocations: 197.5 kB / 0.7851 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002269/0.2392, allocations: 179.7 kB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.58e-05/0.2392, allocations: 12 kB / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.2394, allocations: 67.89 kB / 0.7853 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.991e-05/0.2395, allocations: 51.86 kB / 0.7854 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.186e-05/0.2395, allocations: 16 kB / 0.7854 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.619e-05/0.2396, allocations: 27.98 kB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.759e-05/0.2396, allocations: 7.938 kB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.421e-05/0.2397, allocations: 63.81 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.2399, allocations: 151.8 kB / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.2399, allocations: 4 kB / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.022e-06/0.2399, allocations: 0 / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.2399, allocations: 0 / 0.7856 GB, free: 11.05 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.0004618/0.2404, allocations: 438.7 kB / 0.786 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.2404, allocations: 12.03 kB / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.77e-05/0.2405, allocations: 30.75 kB / 0.7861 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.235e-05/0.2405, allocations: 12.92 kB / 0.7861 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.2406, allocations: 172.2 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.2407, allocations: 4.375 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.205e-05/0.2407, allocations: 16.38 kB / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.2408, allocations: 46.23 kB / 0.7863 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.2408, allocations: 3.938 kB / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-06/0.2408, allocations: 3.938 kB / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.2409, allocations: 8 kB / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.666e-05/0.2409, allocations: 8 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004607/0.2414, allocations: 356.7 kB / 0.7867 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.057e-05/0.2414, allocations: 30.56 kB / 0.7867 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.736e-05/0.2415, allocations: 16.86 kB / 0.7867 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.2415, allocations: 3.938 kB / 0.7867 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001678/0.2417, allocations: 87.36 kB / 0.7868 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 2.925e-06/0.2417, allocations: 0 / 0.7868 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002212/0.2419, allocations: 105.6 kB / 0.7869 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.2419, allocations: 51.41 kB / 0.787 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.811e-05/0.242, allocations: 121.7 kB / 0.7871 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.2421, allocations: 33.7 kB / 0.7871 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.138e-05/0.2422, allocations: 100.1 kB / 0.7872 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.409e-05/0.2422, allocations: 7.812 kB / 0.7872 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.944e-05/0.2423, allocations: 49.69 kB / 0.7873 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.2424, allocations: 322.8 kB / 0.7876 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.2425, allocations: 59.97 kB / 0.7876 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.2427, allocations: 88.27 kB / 0.7877 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001816/0.2429, allocations: 164 kB / 0.7879 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2429, allocations: 0 / 0.7879 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004002/0.2433, allocations: 256.9 kB / 0.7881 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.655e-05/0.2433, allocations: 71.39 kB / 0.7882 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2433, allocations: 8.188 kB / 0.7882 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.2434, allocations: 4 kB / 0.7882 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.605e-05/0.2434, allocations: 3.938 kB / 0.7882 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.2434, allocations: 4 kB / 0.7882 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003379/0.2437, allocations: 63.77 kB / 0.7883 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.391e-05/0.2438, allocations: 8 kB / 0.7883 GB, free: 8.02 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.167e-05/0.2439, allocations: 131.7 kB / 0.7884 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.603e-05/0.2439, allocations: 7.906 kB / 0.7884 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.351e-05/0.2439, allocations: 8.375 kB / 0.7884 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.2439, allocations: 3.984 kB / 0.7884 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.2439, allocations: 0 / 0.7884 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2439, allocations: 0 / 0.7884 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.2441, allocations: 181.6 kB / 0.7886 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2441, allocations: 0 / 0.7886 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.153e-05/0.2441, allocations: 7.938 kB / 0.7886 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2441, allocations: 0 / 0.7886 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.2441, allocations: 4 kB / 0.7886 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2441, allocations: 0 / 0.7886 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.2441, allocations: 0 / 0.7886 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.2443, allocations: 109 kB / 0.7887 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.698e-05/0.2443, allocations: 85.02 kB / 0.7888 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.2443, allocations: 11.92 kB / 0.7888 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.902e-05/0.2444, allocations: 0 / 0.7888 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.272e-05/0.2444, allocations: 4 kB / 0.7888 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.2444, allocations: 8 kB / 0.7888 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.689e-05/0.2445, allocations: 95.2 kB / 0.7889 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2445, allocations: 0 / 0.7889 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002228/0.2447, allocations: 28 kB / 0.7889 GB, free: 7.254 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.0004316/0.2451, allocations: 0.6556 MB / 0.7896 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003037/0.2454, allocations: 250.7 kB / 0.7898 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2455, allocations: 0 / 0.7898 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.489e-05/0.2455, allocations: 32 kB / 0.7898 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.2457, allocations: 11.98 kB / 0.7899 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.2475, allocations: 1.721 MB / 0.7915 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.2478, allocations: 0.6924 MB / 0.7922 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.657e-05/0.2478, allocations: 4 kB / 0.7922 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.485e-05/0.2478, allocations: 23.42 kB / 0.7922 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2478, allocations: 0 / 0.7922 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01185/0.2597, allocations: 2.76 MB / 0.7949 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002085/0.2599, allocations: 209.4 kB / 0.7951 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.721/1.981, allocations: 3.938 kB / 0.7951 GB, free: 0.7734 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)