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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001099/0.001099, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.497/1.497, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.821/1.821, allocations: 292.5 MB / 0.5497 GB, free: 14.64 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.0005623/0.0005625, allocations: 20.22 kB / 0.6736 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2724, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001024/0.2734, allocations: 392.8 kB / 0.7875 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00168/0.2752, allocations: 1.128 MB / 0.7886 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.453e-05/0.2752, allocations: 4 kB / 0.7886 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.833e-05/0.2753, allocations: 3.938 kB / 0.7886 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.2754, allocations: 15.97 kB / 0.7886 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007203/0.2761, allocations: 193.5 kB / 0.7888 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.2763, allocations: 83.84 kB / 0.7889 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.359e-05/0.2764, allocations: 4 kB / 0.7889 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.2765, allocations: 63.88 kB / 0.789 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.2766, allocations: 47.88 kB / 0.789 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.506e-05/0.2767, allocations: 8 kB / 0.789 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.33e-05/0.2768, allocations: 23.97 kB / 0.789 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.994e-05/0.2768, allocations: 11.98 kB / 0.789 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.605e-05/0.2769, allocations: 37.64 kB / 0.7891 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.277, allocations: 108 kB / 0.7892 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.2771, allocations: 3.938 kB / 0.7892 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2771, allocations: 0 / 0.7892 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.2771, allocations: 4 kB / 0.7892 GB, free: 9.848 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.0004861/0.2776, allocations: 398.7 kB / 0.7896 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.2776, allocations: 16.03 kB / 0.7896 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.051e-05/0.2777, allocations: 7.906 kB / 0.7896 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.2778, allocations: 167 kB / 0.7898 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.2779, allocations: 4 kB / 0.7898 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.458e-05/0.2779, allocations: 16 kB / 0.7898 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.278, allocations: 45.67 kB / 0.7898 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.2781, allocations: 0 / 0.7898 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.2781, allocations: 0 / 0.7898 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.2781, allocations: 3.938 kB / 0.7898 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.472e-05/0.2781, allocations: 15.98 kB / 0.7898 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005385/0.2787, allocations: 360.6 kB / 0.7902 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.446e-05/0.2788, allocations: 30.56 kB / 0.7902 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.2788, allocations: 3.984 kB / 0.7902 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001773/0.279, allocations: 91.34 kB / 0.7903 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.279, allocations: 0 / 0.7903 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002493/0.2792, allocations: 101.6 kB / 0.7904 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.2793, allocations: 55.39 kB / 0.7904 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.2794, allocations: 122 kB / 0.7906 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/0.2794, allocations: 33.7 kB / 0.7906 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.847e-05/0.2795, allocations: 88.33 kB / 0.7907 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/0.2795, allocations: 11.8 kB / 0.7907 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.006e-05/0.2796, allocations: 8 kB / 0.7907 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.761e-05/0.2797, allocations: 322.8 kB / 0.791 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.2798, allocations: 59.95 kB / 0.7911 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.2799, allocations: 94.02 kB / 0.7912 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.2801, allocations: 111.4 kB / 0.7913 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2801, allocations: 4 kB / 0.7913 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000381/0.2805, allocations: 264.8 kB / 0.7915 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.002e-05/0.2805, allocations: 67.39 kB / 0.7916 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.2805, allocations: 4 kB / 0.7916 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.2806, allocations: 0 / 0.7916 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.534e-05/0.2806, allocations: 11.92 kB / 0.7916 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.2806, allocations: 320 / 0.7916 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003843/0.281, allocations: 76.06 kB / 0.7917 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.205e-05/0.281, allocations: 11.98 kB / 0.7917 GB, free: 7.012 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,$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.0001152/0.2812, allocations: 132.7 kB / 0.7918 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.409e-05/0.2812, allocations: 7.906 kB / 0.7918 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.55e-05/0.2812, allocations: 8.375 kB / 0.7918 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.2812, allocations: 4 kB / 0.7918 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.2812, allocations: 0 / 0.7918 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.2812, allocations: 3.984 kB / 0.7918 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.2814, allocations: 173.6 kB / 0.792 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2814, allocations: 0 / 0.792 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.052e-05/0.2814, allocations: 3.938 kB / 0.792 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2814, allocations: 4 kB / 0.792 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.2814, allocations: 4.047 kB / 0.792 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.2814, allocations: 8 kB / 0.792 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.2814, allocations: 0 / 0.792 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001384/0.2816, allocations: 112.9 kB / 0.7921 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.428e-05/0.2816, allocations: 89 kB / 0.7922 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.2817, allocations: 0 / 0.7922 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.188e-05/0.2817, allocations: 4 kB / 0.7922 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-05/0.2817, allocations: 11.98 kB / 0.7922 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.2818, allocations: 4 kB / 0.7922 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.556e-05/0.2818, allocations: 95.2 kB / 0.7923 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.41e-07/0.2818, allocations: 3.938 kB / 0.7923 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002399/0.2821, allocations: 32 kB / 0.7924 GB, free: 6.23 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 (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.000174/0.2822, allocations: 103.2 kB / 0.7925 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003303/0.2826, allocations: 246.7 kB / 0.7927 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2826, allocations: 4.25 kB / 0.7927 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.548e-05/0.2826, allocations: 23.98 kB / 0.7927 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.2828, allocations: 19.94 kB / 0.7927 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003268/0.2832, allocations: 163.4 kB / 0.7929 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.2834, allocations: 0.6965 MB / 0.7936 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.925e-05/0.2835, allocations: 7.984 kB / 0.7936 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.792e-05/0.2835, allocations: 11.44 kB / 0.7936 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2835, allocations: 0 / 0.7936 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of Templates: time 0.004408/0.2879, allocations: 1.673 MB / 0.7952 GB, free: 3.227 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) Environment - environmentSimulation: