Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.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.7.0.x_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.009929/0.009929, allocations: 101.2 kB / 15.73 MB, free: 6.059 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.001895/0.001895, allocations: 194.4 kB / 16.67 MB, free: 5.984 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.758/1.758, allocations: 205.1 MB / 222.6 MB, free: 4.258 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.698/1.698, allocations: 251.7 MB / 0.5094 GB, free: 3.027 MB / 414.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.001592/0.001592, allocations: 75.89 kB / 0.7258 GB, free: 8.98 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.282, allocations: 104.7 MB / 0.8281 GB, free: 168 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002653/0.2847, allocations: 1.374 MB / 0.8294 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0004821/0.2852, allocations: 204.6 kB / 0.8296 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.831e-05/0.2852, allocations: 4 kB / 0.8296 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.2e-05/0.2853, allocations: 3.984 kB / 0.8296 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.37e-05/0.2854, allocations: 15.88 kB / 0.8296 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001736/0.2856, allocations: 15.92 kB / 0.8296 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000106/0.2857, allocations: 59.78 kB / 0.8297 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.2858, allocations: 15.97 kB / 0.8297 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.038e-05/0.2859, allocations: 19.94 kB / 0.8297 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.949e-05/0.286, allocations: 19.91 kB / 0.8297 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.286, allocations: 4 kB / 0.8298 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.406e-05/0.286, allocations: 8 kB / 0.8298 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.344e-05/0.286, allocations: 8 kB / 0.8298 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.91e-05/0.2861, allocations: 23.86 kB / 0.8298 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001205/0.2862, allocations: 59.72 kB / 0.8298 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2862, allocations: 0 / 0.8298 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.442e-06/0.2862, allocations: 0 / 0.8298 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.2862, allocations: 0 / 0.8298 GB, free: 14.32 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000608/0.2868, allocations: 371.2 kB / 0.8302 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.2869, allocations: 12.03 kB / 0.8302 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.086e-05/0.2869, allocations: 8.844 kB / 0.8302 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.2871, allocations: 172.4 kB / 0.8304 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.2871, allocations: 4.375 kB / 0.8304 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.2871, allocations: 384 / 0.8304 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.2873, allocations: 50.25 kB / 0.8304 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.2873, allocations: 192 / 0.8304 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.2873, allocations: 3.938 kB / 0.8304 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.2873, allocations: 3.984 kB / 0.8304 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.028e-05/0.2874, allocations: 23.94 kB / 0.8305 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004295/0.2878, allocations: 292.7 kB / 0.8307 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.2879, allocations: 46.5 kB / 0.8308 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.382e-05/0.288, allocations: 16.98 kB / 0.8308 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.288, allocations: 0 / 0.8308 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001824/0.2882, allocations: 83.3 kB / 0.8309 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.2882, allocations: 0 / 0.8309 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0002196/0.2884, allocations: 81.69 kB / 0.831 GB, free: 13 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.2885, allocations: 55.41 kB / 0.831 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.671e-05/0.2886, allocations: 117.8 kB / 0.8311 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.2886, allocations: 25.7 kB / 0.8312 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.949e-05/0.2886, allocations: 92.06 kB / 0.8312 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.2887, allocations: 19.88 kB / 0.8313 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.063e-05/0.2887, allocations: 29.66 kB / 0.8313 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.2888, allocations: 318.8 kB / 0.8316 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.061e-05/0.2889, allocations: 12 kB / 0.8316 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.517e-05/0.2889, allocations: 38.56 kB / 0.8316 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.892e-05/0.289, allocations: 46.45 kB / 0.8317 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.289, allocations: 4 kB / 0.8317 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001035/0.2891, allocations: 77.61 kB / 0.8318 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.2891, allocations: 4 kB / 0.8318 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.2891, allocations: 4 kB / 0.8318 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.2892, allocations: 0 / 0.8318 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.647e-05/0.2892, allocations: 4 kB / 0.8318 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.2892, allocations: 0 / 0.8318 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.75e-05/0.2893, allocations: 23.83 kB / 0.8318 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.2893, allocations: 4 kB / 0.8318 GB, free: 12.07 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,nand1.y,booPul2.pulseStart,$PRE.booPul2.pulseStart,booPul2.y,booPul1.pulseStart,$PRE.booPul1.pulseStart,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): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.433e-05/0.2894, allocations: 121.8 kB / 0.8319 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.016e-05/0.2895, allocations: 3.938 kB / 0.8319 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.592e-05/0.2895, allocations: 16.36 kB / 0.8319 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.2895, allocations: 0 / 0.8319 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.2895, allocations: 0 / 0.8319 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.538e-05/0.2895, allocations: 0 / 0.8319 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.2897, allocations: 185.4 kB / 0.8321 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2897, allocations: 3.984 kB / 0.8321 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.139e-05/0.2897, allocations: 4 kB / 0.8321 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.2897, allocations: 4 kB / 0.8321 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.864e-06/0.2897, allocations: 4 kB / 0.8321 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2897, allocations: 0 / 0.8321 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2898, allocations: 0 / 0.8321 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/0.2899, allocations: 97.77 kB / 0.8322 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.916e-05/0.2899, allocations: 89 kB / 0.8323 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.29, allocations: 0 / 0.8323 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.706e-05/0.29, allocations: 7.984 kB / 0.8323 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.954e-05/0.2901, allocations: 19.92 kB / 0.8323 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.2901, allocations: 4 kB / 0.8323 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.477e-05/0.2902, allocations: 91.34 kB / 0.8324 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2902, allocations: 192 / 0.8324 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001925/0.2904, allocations: 11.98 kB / 0.8324 GB, free: 11.33 MB / 0.6544 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 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,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.0001666/0.2905, allocations: 107.2 kB / 0.8325 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000154/0.2907, allocations: 43.92 kB / 0.8326 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2907, allocations: 4.125 kB / 0.8326 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 5.714e-05/0.2908, allocations: 27.98 kB / 0.8326 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.291, allocations: 17.81 kB / 0.8326 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004102/0.2915, allocations: 150.2 kB / 0.8328 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.2917, allocations: 0.6922 MB / 0.8334 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.007e-05/0.2918, allocations: 11.86 kB / 0.8335 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.197e-05/0.2918, allocations: 11.44 kB / 0.8335 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of SimCode: time 1.393e-06/0.2918, allocations: 0 / 0.8335 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of Templates: time 0.003302/0.2951, allocations: 0.906 MB / 0.8344 GB, free: 9.312 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1)