Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.68/1.68, allocations: 288.4 MB / 303.4 MB, free: 8.137 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.001253/0.001253, allocations: 182.9 kB / 372 MB, free: 10.2 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.751/1.751, allocations: 205.4 MB / 0.6307 GB, free: 9.949 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.0008177/0.0008182, allocations: 97.27 kB / 0.7441 GB, free: 5.871 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005259/0.0005262, allocations: 16.83 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2936, allocations: 115.3 MB / 0.9796 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.0009385/0.2946, allocations: 394.6 kB / 0.98 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001465/0.2961, allocations: 1.165 MB / 0.9811 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.692e-05/0.2962, allocations: 0 / 0.9811 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.457e-05/0.2962, allocations: 0 / 0.9811 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.533e-05/0.2963, allocations: 7.938 kB / 0.9811 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007012/0.297, allocations: 198 kB / 0.9813 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001635/0.2972, allocations: 135.7 kB / 0.9814 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.2973, allocations: 7.984 kB / 0.9814 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.2974, allocations: 59.89 kB / 0.9815 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.2975, allocations: 47.86 kB / 0.9815 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.161e-05/0.2976, allocations: 12 kB / 0.9816 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.287e-05/0.2977, allocations: 19.98 kB / 0.9816 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.756e-05/0.2977, allocations: 4 kB / 0.9816 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.869e-05/0.2978, allocations: 45.64 kB / 0.9816 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.2979, allocations: 104 kB / 0.9817 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.2979, allocations: 4 kB / 0.9817 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.355e-06/0.2979, allocations: 0 / 0.9817 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.298, allocations: 0 / 0.9817 GB, free: 25.44 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.0004669/0.2984, allocations: 406.7 kB / 0.9821 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.2985, allocations: 12.02 kB / 0.9821 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.015e-05/0.2986, allocations: 15.91 kB / 0.9821 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.03e-05/0.2987, allocations: 167 kB / 0.9823 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.2987, allocations: 7.984 kB / 0.9823 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.515e-05/0.2987, allocations: 8 kB / 0.9823 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.2988, allocations: 45.69 kB / 0.9824 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.2989, allocations: 3.938 kB / 0.9824 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.2989, allocations: 7.984 kB / 0.9824 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.2989, allocations: 0 / 0.9824 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.899e-05/0.2989, allocations: 15.98 kB / 0.9824 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000473/0.2994, allocations: 360.6 kB / 0.9827 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.36e-05/0.2995, allocations: 34.58 kB / 0.9828 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.791e-05/0.2995, allocations: 20.88 kB / 0.9828 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.2996, allocations: 0 / 0.9828 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000174/0.2997, allocations: 83.38 kB / 0.9829 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.582e-06/0.2997, allocations: 3.938 kB / 0.9829 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002396/0.3, allocations: 101.5 kB / 0.983 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.3, allocations: 55.34 kB / 0.983 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.797e-05/0.3001, allocations: 122 kB / 0.9831 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.3002, allocations: 29.7 kB / 0.9832 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.01e-05/0.3002, allocations: 92.31 kB / 0.9833 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.492e-05/0.3002, allocations: 11.81 kB / 0.9833 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.605e-05/0.3003, allocations: 4 kB / 0.9833 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.089e-05/0.3003, allocations: 330.8 kB / 0.9836 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.3004, allocations: 55.97 kB / 0.9836 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.3006, allocations: 92.25 kB / 0.9837 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.3007, allocations: 111.4 kB / 0.9838 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3007, allocations: 7.938 kB / 0.9838 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000343/0.3011, allocations: 260.8 kB / 0.9841 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.421e-05/0.3011, allocations: 69.11 kB / 0.9842 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.3012, allocations: 4 kB / 0.9842 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.3012, allocations: 0 / 0.9842 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.474e-05/0.3012, allocations: 4 kB / 0.9842 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.3012, allocations: 0 / 0.9842 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003982/0.3016, allocations: 76.05 kB / 0.9842 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.748e-05/0.3017, allocations: 8.469 kB / 0.9842 GB, free: 22.58 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 9.158e-05/0.3018, allocations: 139.2 kB / 0.9844 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.337e-05/0.3018, allocations: 7.906 kB / 0.9844 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.67e-05/0.3018, allocations: 4.375 kB / 0.9844 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3018, allocations: 7.938 kB / 0.9844 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.3018, allocations: 3.938 kB / 0.9844 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.3018, allocations: 0 / 0.9844 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.3019, allocations: 181.6 kB / 0.9846 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.302, allocations: 0 / 0.9846 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.087e-06/0.302, allocations: 4.062 kB / 0.9846 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.302, allocations: 4 kB / 0.9846 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.302, allocations: 4 kB / 0.9846 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.302, allocations: 0 / 0.9846 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.302, allocations: 0 / 0.9846 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/0.3021, allocations: 117.2 kB / 0.9847 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.182e-05/0.3022, allocations: 88.95 kB / 0.9848 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.3022, allocations: 3.984 kB / 0.9848 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.956e-05/0.3022, allocations: 0 / 0.9848 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.722e-05/0.3023, allocations: 8 kB / 0.9848 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.3023, allocations: 15.92 kB / 0.9848 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.473e-05/0.3023, allocations: 87.28 kB / 0.9849 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3023, allocations: 0 / 0.9849 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002251/0.3026, allocations: 31.98 kB / 0.9849 GB, free: 21.79 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.000181/0.3028, allocations: 101.5 kB / 0.985 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002846/0.303, allocations: 242.7 kB / 0.9852 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3031, allocations: 4.25 kB / 0.9852 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.403e-05/0.3031, allocations: 27.98 kB / 0.9853 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.3034, allocations: 20.97 kB / 0.9853 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003374/0.3037, allocations: 159.5 kB / 0.9854 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000148/0.3039, allocations: 0.6926 MB / 0.9861 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.28e-05/0.3039, allocations: 4 kB / 0.9861 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.141e-05/0.3039, allocations: 11.44 kB / 0.9861 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.3039, allocations: 0 / 0.9861 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of Templates: time 0.004469/0.3084, allocations: 1.692 MB / 0.9878 GB, free: 18.79 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1)